1 // PR c++/95560 2 // { dg-do compile { target c++11 } } 3 fn1()4 template <typename> void fn1() { 5 bool ready; 6 enum class State { ready }; 7 } 8