repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
desig5.C
blob
ed2762917580370657e65af225ad378c2cde270e
1
// PR c++/87324
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wno-pedantic" }
4
5
struct {
6
struct {
7
double a;
8
struct {
9
short b;
10
};
11
};
12
int c;
13
} d{.a = 7, .a = 8.09}; // { dg-error "designator used multiple times in the same initializer list" }