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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
aggr13.C
blob
08248a6df94656c03ca8b5267b84c372838f8814
1
// PR c++/67550
2
// { dg-do run }
3
4
struct S {
5
int x;
6
int y;
7
};
8
int foo() { return 1; }
9
10
int main() {
11
S const data[] = {{0, foo()}};
12
13
S data2[] = {data[0]};
14
15
if (!data2[0].y)
16
__builtin_abort();
17
}