2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline23.C
blobdcb443be1cc27ea82d0c8c4dd588081a56b484f7
1 // { dg-do link  }
3 struct B
5   virtual ~B() {}
6 };
8 struct A : public B
10   ~A();
11   void foo(void);
12   void bar(void);
15 inline void A::foo(void)
17   static int i;
18   i++;
21 void A::bar()
23   foo();
26 int main()