Files
foc/tools/preprocess/test/verify/parser_noinline.h
2013-01-11 17:00:47 +01:00

55 lines
799 B
C++

// AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*-
#ifndef parser_noinline_h
#define parser_noinline_h
//
// INTERFACE definition follows
//
#line 2 "parser.cpp"
struct Foo
{
struct Bar
{
int baz;
};
public:
int alreadythere();
int alsoalreadythere();
public:
#line 52 "parser.cpp"
// Try a constructor with weird syntax
Foo();
private:
#line 44 "parser.cpp"
// And add a Foo function
void func();
#line 48 "parser.cpp"
// Try default arguments
void bar(int i = 15, int j = somefunc(0, somefunc(0, 0)));
};
#line 20 "parser.cpp"
int bar();
#line 23 "parser.cpp"
// Try multiline NEEDS
int baz();
#line 29 "parser.cpp"
// Try function arguments
unsigned
somefunc(unsigned (*func1)(),
unsigned (*func2)());
#endif // parser_noinline_h