1 // PR c++/51675 2 // { dg-do compile { target c++11 } } 3 4 union foo 5 { 6 int x; 7 short y; 8 foo()9 constexpr foo(): x(0) { } 10 }; 11 12 constexpr foo f; 13