1// PR c++/17327
2
3enum E { E0, E1 };
4template <class T,class U> class A {};
5template <class T> void f(A<E,T>) {}
6// We used to issue a "sorry" message.  By using an explicit error
7// message below, we make sure that we will not match "sorry".
8template void f(A<int,E>); // { dg-error "template-id" }
9