Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-union3.C
blob: ecae28dcc5bde7b40df361616d0a43c27989de8b [
file
] [
log
] [
blame
]
// PR c++/51675
// { dg-do compile { target c++11 } }
union
foo
{
int
x
;
short
y
;
constexpr
foo
():
x
(
0
)
{
}
};
constexpr
foo f
;