]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/tool/preprocess/test/verify/parser.h
Update
[l4.git] / kernel / fiasco / tool / preprocess / test / verify / parser.h
1 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
2
3 #ifndef parser_h
4 #define parser_h
5
6 //
7 // INTERFACE definition follows 
8 //
9
10 #line 2 "parser.cpp"
11
12 struct Foo
13 {
14   struct Bar 
15   {
16     int baz;
17   };
18
19 public:
20   int alreadythere();
21   inline int alsoalreadythere();
22
23 public:  
24 #line 52 "parser.cpp"
25   // Try a constructor with weird syntax
26   
27   Foo ();
28
29 private:  
30 #line 44 "parser.cpp"
31   // And add a Foo function
32   void func ();
33   
34 #line 48 "parser.cpp"
35   // Try default arguments
36   void bar (int i = 15, int j = somefunc(0, somefunc(0, 0)));
37 };
38
39 #line 20 "parser.cpp"
40 inline int bar();
41
42 #line 23 "parser.cpp"
43 // Try multiline NEEDS
44
45
46 inline int baz();
47
48 #line 29 "parser.cpp"
49 // Try function arguments
50 unsigned
51 somefunc(unsigned (*func1)(), 
52          unsigned (*func2)());
53
54 //
55 // IMPLEMENTATION includes follow (for use by inline functions/templates)
56 //
57
58 #line 16 "parser.cpp"
59
60 #include "foo.h"
61
62 //
63 // IMPLEMENTATION of inline functions (and needed classes)
64 //
65
66
67 #line 62 "parser.cpp"
68
69 inline int 
70 Foo::alsoalreadythere()
71 {}
72
73 #line 18 "parser.cpp"
74
75
76 inline int bar()
77 {}
78
79 #line 22 "parser.cpp"
80
81 // Try multiline NEEDS
82
83
84 inline int baz()
85 {}
86
87 #endif // parser_h