OSDN Git Service

PR c++/29363
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash26.C
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
4
5 // PR c++/18471: ICE redeclaration of typedef as class template
6
7 typedef int X;                  // { dg-error "previous" }
8 template<X> struct X {};        // { dg-error "typedef-name" }