1 // PR c++/87934 2 // { dg-do compile { target c++11 } } 3 4 struct Foo 5 { 6 enum { BAR } bar = BAR; 7 }; 8 9 constexpr Foo foo{}; 10