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
Merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
value-init1.C
blob
fd38b2e0264d13ac71f1c2d16be34be109a9a7d6
1
// PR c++/59659
2
// { dg-options "-fdump-tree-gimple -std=c++11" }
3
// { dg-final { scan-tree-dump-times "i = 0" 0 "gimple" } }
4
// { dg-final { cleanup-tree-dump "gimple" } }
5
6
struct S { S () = default; S (int i); int i; };
7
struct A { S s[100]; };
8
9
void
10
foo ()
11
{
12
A a = {{}};
13
}