1 // { dg-lto-do assemble }
2 extern void some_function (const char *);
3 extern bool some_other_function ();
11 bool Foo_eq(Foo x, Foo y)
13 return x.a == y.a && x.b == y.b;
28 #pragma GCC diagnostic ignored "-Wreturn-type"
33 Bar func_1(const Bar & bar) {
34 if (Foo_eq(bar.a, baz.a.a) && bar.b == baz.a.b || some_other_function ())
38 void func_2(const Baz & baz) {
40 some_function(__PRETTY_FUNCTION__);
48 rep->func_2(Baz(bar));