☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash26.C
☽
☼
gcc/testsuite/g++.dg/template/crash26.C
code
plain
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" }