1*f4a2713aSLionel Sambuc #ifndef _T_H_ 2*f4a2713aSLionel Sambuc #define _T_H_ 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc extern int some_val; 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc namespace NS { 7*f4a2713aSLionel Sambuc class C { 8*f4a2713aSLionel Sambuc void method_decl(); method_def1()9*f4a2713aSLionel Sambuc int method_def1() { ++some_val; return undef_val1; } 10*f4a2713aSLionel Sambuc inline int method_def2(); 11*f4a2713aSLionel Sambuc }; 12*f4a2713aSLionel Sambuc } 13*f4a2713aSLionel Sambuc method_def2()14*f4a2713aSLionel Sambucinline int NS::C::method_def2() { 15*f4a2713aSLionel Sambuc ++some_val; return undef_val2; 16*f4a2713aSLionel Sambuc } 17*f4a2713aSLionel Sambuc foo1()18*f4a2713aSLionel Sambucstatic inline int foo1() { 19*f4a2713aSLionel Sambuc ++some_val; return undef_val3; 20*f4a2713aSLionel Sambuc } 21*f4a2713aSLionel Sambuc 22*f4a2713aSLionel Sambuc #ifdef BLAH 23*f4a2713aSLionel Sambuc foo2()24*f4a2713aSLionel Sambucstatic inline int foo2() { 25*f4a2713aSLionel Sambuc ++some_val; return undef_val4; 26*f4a2713aSLionel Sambuc } 27*f4a2713aSLionel Sambuc 28*f4a2713aSLionel Sambuc #endif 29*f4a2713aSLionel Sambuc 30*f4a2713aSLionel Sambuc #endif 31