File: test0.cc

package info (click to toggle)
libabigail 2.9-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,021,756 kB
  • sloc: xml: 572,663; cpp: 110,945; sh: 11,868; ansic: 4,329; makefile: 3,486; python: 1,684; ada: 62
file content (52 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Random comment
//
int global = 1;

namespace ns0
{
long
foo(char* c, const volatile long l);


void
bar(const int c, ...)
{}

void
baz(int& c)
{c = 0;}

enum E {e0, e1};

void
bar2(E& e)
{int c = e; ++c;}

typedef long long long_long;

long_long
baz2(int& c)
{c = 0; return c;}

typedef const volatile unsigned long long useless_long_long;

static useless_long_long
this_should_not_be_seen_by_bidw()
{
  int i = 0;
  bar(0);
  baz2(i);
  return 0;
}

} // end namespace ns0

long
ns0::foo(char* c, const volatile long l)
{return *c + l;}

int
main()
{
  return ns0::this_should_not_be_seen_by_bidw();
}