Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr70029.C
blob: 9592f0cc98786c9c73447c19147a39c4c8c4d639 [
file
] [
log
] [
blame
]
// PR c++/70029
// { dg-do compile }
// { dg-options "-std=c++11 -g -flto" }
// { dg-require-effective-target lto }
struct
A
{
A
();
int
foo
()
&&
__attribute__
((
__warn_unused_result__
))
{
return
0
;
}
};
A a
;