Sign in
gnu
/
gcc
/
refs/heads/devel/gimple-linterchange
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
union2.C
blob: ac39f6092ef0f7427a1a8a52412713fbc473c7a1 [
file
] [
log
] [
blame
]
// PR c++/15938
// { dg-do compile }
// { dg-options "" }
typedef
union
{
struct
{
int
i
;
};
struct
{
char
c
;
};
}
A
;
A a
=
{
0
};
A b
=
{{
0
}};
A c
=
{{{
0
}}};
// { dg-error "braces" }