Debian Codegraph @

gcc/testsuite/g++.dg/template/crash26.C

raw
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <[email protected]>
4
5 // PR c++/18471: ICE redeclaration of typedef as class template
6
7 typedef int X; // { dg-message "previous" }
8 template<X> struct X {}; // { dg-error "typedef-name" }