PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum2.C
blobc101134f8f513598a1c0f68f63b9bae5767a0ccc
1 // PR c++/38637
2 // { dg-do compile { target c++11 } }
4 template<int> enum E : int { e };       // { dg-error "declaration|expected" }