summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20080907_0.C
blob: a423196e7dbacee3935e90b837df5b32b0ea113a (plain)
1
2
3
4
5
// { dg-lto-do assemble }
// { dg-lto-options "-Wno-return-type" }

struct Foo { void func (); }; Foo & bar () { } struct Baz { Baz (Baz &); };
Baz dummy() { bar().func(); }