Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/inline17.C

raw
1 // { dg-do assemble }
2 // { dg-options "-O3" }
3 // Origin: Jakub Jelinek <[email protected]>
4
5 struct foo
6 {
7 char a;
8 foo ();
9 void bar ();
10 void baz (char c);
11 };
12
13 void foo::baz (char c)
14 {
15 if (c != a)
16 a = c;
17 }
18
19 void foo::bar ()
20 {
21 baz (1);
22 }