Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr70929_0.C
blob: c96fb1c743ad493dda61114292eee5ab3c27fdaa [
file
] [
log
] [
blame
]
// { dg-lto-do run }
// { dg-lto-options { "-O3 -flto" } }
struct
s
{
int
a
;
s
()
{
a
=
1
;}
~
s
()
{}
};
int
t
(
struct
s s
);
int
main
()
{
s s
;
int
v
=
t
(
s
);
if
(!
__builtin_constant_p
(
v
))
__builtin_abort
();
return
0
;
}