5
#define PRINT(string,msg) printf(string, msg)
14
// protected visibility
19
inline void setX(int X)
23
// check nested pachage
25
namespace MyNestedPackage {
26
// check parent nested class
29
{ // public visibility
36
// check derived nested class
47
cout << "In consturctor\n";
72
// unsigned long variable
74
// unsigned short variable
75
unsigned short vuShort;
77
// check variable declarations
78
// variable declaration
81
static void * (*orig_malloc_hook)(const char *file, int line, size_t size);
84
// simple function declaration
86
// function declaration with parameters
89
// simple function definition
98
// typedef and elaborated types
99
typedef struct MyStruct myStruct;
112
template<class A, typename B=C>
113
A aTemplatedFunction( B bInstance );
118
template<class A, typename B=C>
119
A aTemplatedMethod( B bInstance );
122
template<class T, typename Tibor = junk>
123
class myarray { /* */ };
125
template<class T, typename Tibor = junk>
126
struct mystruct { /* */ };
128
// template <bool __threads, int __inst>
129
// char* default_alloc_template<__threads, __inst>::_S_start_free = 0;
134
int main(int argc, char * argv[])
138
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=180815
141
} bug180815_var0, bug180815_var1;