repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr70929_0.C
blob
c96fb1c743ad493dda61114292eee5ab3c27fdaa
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
}