[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr70029_0.C
blob9c8c31cf68b035c53d072c05d03ad43262db14de
1 // PR c++/70029
2 // { dg-lto-do assemble }
4 struct A
6   A();
7   int foo() && __attribute__ ((__warn_unused_result__)) { return 0; }
8 };
10 A a;