c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr58563.C
blobc9e3e308af93cfd569c253853bfa1a86108a9621
1 // PR c++/58563
2 // { dg-do compile { target c++11 } }
4 template<int> void foo()
6   enum E {};
7   E().E::~T(); // { dg-error "not a class" }