Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
desig5.C
blob: ed2762917580370657e65af225ad378c2cde270e [
file
] [
log
] [
blame
]
// PR c++/87324
// { dg-do compile { target c++11 } }
// { dg-options "-Wno-pedantic" }
struct
{
struct
{
double
a
;
struct
{
short
b
;
};
};
int
c
;
}
d
{.
a
=
7
,
.
a
=
8.09
};
// { dg-error "designator used multiple times in the same initializer list" }