]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/lto/pr70029_0.C
PR c++/70029 - ICE with ref-qualifier and -flto
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / lto / pr70029_0.C
1 // PR c++/70029
2 // { dg-lto-do assemble }
3
4 struct A
5 {
6 A();
7 int foo() && __attribute__ ((__warn_unused_result__)) { return 0; }
8 };
9
10 A a;