Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash26.C
blob: 3be7ff97c26f261de325bc5121403adebd8144f2 [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// PR c++/18471: ICE redeclaration of typedef as class template
typedef
int
X
;
// { dg-message "previous" }
template
<
X
>
struct
X
{};
// { dg-error "typedef-name" }