Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;