Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-union2.C
blob: 069232755f9973bf7477f7c217198c4e351543d8 [
file
] [
log
] [
blame
]
// PR c++/52377
// { dg-require-effective-target c++11 }
union
A
// { dg-error "multiple" }
{
int
i
=
4
;
int
j
=
2
;
};
A a
;
union
B
{
int
i
,
j
;
B
():
i
(
1
),
j
(
2
)
{}
// { dg-error "multiple" }
};
B b
;