FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline5.C
blob305fd0ac6083cc077fb505050bd3f545839d8acf
1 // Build don't link:
2 // Origin: Matt Austern <austern@isolde.engr.sgi.com>
3 // Special g++ Options: -O2
5 class X;
7 extern X* tab1;
9 struct Y {
10   explicit Y(int);
13 void* x ();
15 Y k (void *);
17 inline void f() { k (x ()); }
19 inline void* x () 
21   return 0;
24 static void g() {
25   f();
28 static void h() {
29   f();