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