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;