]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/tool/preprocess/test/verify/parser_noinline.cc
update
[l4.git] / kernel / fiasco / tool / preprocess / test / verify / parser_noinline.cc
1 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
2
3 #include "parser_noinline.h"
4 #include "parser_noinline_i.h"
5
6 #line 40 "parser.cpp"
7
8 // Try to initialize a nested structure object.
9 struct Foo::Bar some_bar = { 1 };
10 #line 79 "parser.cpp"
11
12 void find_this ();
13 #line 85 "parser.cpp"
14
15 #ifdef HEILIGE_WEIHNACHT
16 #line 87 "parser.cpp"
17 static void present_this ();
18 #line 88 "parser.cpp"
19 #endif
20
21 #line 18 "parser.cpp"
22
23
24 int bar()
25 {}
26
27 #line 22 "parser.cpp"
28
29 // Try multiline NEEDS
30
31
32 int baz()
33 {}
34
35 #line 28 "parser.cpp"
36
37 // Try function arguments
38 unsigned
39 somefunc(unsigned (*func1)(), 
40          unsigned (*func2)())
41 {
42 }
43
44 #line 43 "parser.cpp"
45
46 // And add a Foo function
47 void Foo::func()
48 {}
49
50 #line 47 "parser.cpp"
51
52 // Try default arguments
53 void Foo::bar(int i, int j)
54 {}
55
56 #line 51 "parser.cpp"
57
58 // Try a constructor with weird syntax
59
60 Foo::Foo()
61   : something (reinterpret_cast<Bar*>(Baz::bla()))
62 {}
63
64 #line 57 "parser.cpp"
65
66 // Try implementing an already-declared function
67 int 
68 Foo::alreadythere()
69 {}
70
71 #line 62 "parser.cpp"
72
73 int 
74 Foo::alsoalreadythere()
75 {}