55 lines
799 B
C++
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
|