1 // PR c++/47704 2 // { dg-do compile { target c++11 } } 3 4 void foo()5 foo () 6 { 7 enum class E { A, B }; 8 new E; 9 } 10