1 // PR c++/38637 2 // { dg-do compile { target c++11 } } 3 4 template<int> enum E : int { e }; // { dg-error "declaration|expected" } 5