Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten-fastcomp-clang
/
f080eaf0eace3bd38fdabb37c64bd0a21caa8961
/
.
/
test
/
CXX
/
class
/
class.union
/
class.union.anon
/
p4.cpp
blob: cc54ba40661939d762fc4308e5a447503f1c27bb [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++11 -verify %s
union
U
{
int
x
=
0
;
// expected-note {{previous initialization is here}}
union
{};
union
{
int
z
;
int
y
=
1
;
// expected-error {{initializing multiple members of union}}
};
};