2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline17.C
blobb7890e7ef8ff863300d0d2d170d7b4dde5b3d4aa
1 // { dg-do assemble  }
2 // { dg-options "-O3" }
3 // Origin: Jakub Jelinek <jakub@redhat.com>
5 struct foo
7   char a;
8   foo ();
9   void bar ();
10   void baz (char c);
13 void foo::baz (char c)
15   if (c != a)
16     a = c;
19 void foo::bar ()
21   baz (1);