☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr70929_0.C
☽
☼
gcc/testsuite/g++.dg/lto/pr70929_0.C
code
plain
raw
1
// { dg-lto-do run }
2
// { dg-lto-options { "-O3 -flto" } }
3
4
struct s
5
{
6
int a;
7
s() {a=1;}
8
~s() {}
9
};
10
int t(struct s s);
11
int main()
12
{
13
s s;
14
int v=t(s);
15
if (!__builtin_constant_p (v))
16
__builtin_abort ();
17
return 0;
18
}