2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline16.C
blob95bfa7aacfce0b2e018bf25de3c7a9e2733cc20b
1 // { dg-do assemble  }
2 // { dg-options "-O1" }
3 // Origin: Jakub Jelinek <jakub@redhat.com>
5 struct foo {
6   bool x;
7   inline void a (unsigned char y);
8   inline void b (void);
9   virtual ~foo ();
12 foo::~foo ()
16 void foo::a (unsigned char y)
18     x = ((y & 2) != 0);
21 void foo::b (void)
23     a(0x07);