~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to test/libapt/globalerror_test.cc

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-01 17:48:58 UTC
  • mfrom: (1.4.87 sid)
  • Revision ID: package-import@ubuntu.com-20140401174858-4mv29mm29zu22fn1
Tags: 1.0.1ubuntu1
merge with the debian/sid 1.0.1 version
(LP: #1302033)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <config.h>
 
2
 
1
3
#include <apt-pkg/error.h>
2
4
 
3
 
#include "assert.h"
 
5
#include <stddef.h>
4
6
#include <string>
5
7
#include <errno.h>
6
8
#include <string.h>
7
9
 
8
 
int main(int argc,char *argv[])
 
10
#include "assert.h"
 
11
 
 
12
int main()
9
13
{
10
14
        std::string const textOfErrnoZero(strerror(0));
11
15