FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline17.C
blobf3266ab479d4e47ffa3fa7f50afdeca8bddf36c5
1 // Build don't link:
2 // Origin: Jakub Jelinek <jakub@redhat.com>
3 // Special g++ Options: -O3
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);