blob: ac39f6092ef0f7427a1a8a52412713fbc473c7a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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" }
|