// PR c++/60153 // { dg-do compile { target c++11 } } enum class foo :int {x,y,z}; template class A { public: A() { } }; template struct B { typedef T value_type; static const T val; }; template struct madscience_intitializer { template using ret_type = A; }; int main() { madscience_intitializer,B >::ret_type<1,foo::y> a; }