PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash26.C
blob3be7ff97c26f261de325bc5121403adebd8144f2
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // PR c++/18471: ICE redeclaration of typedef as class template
7 typedef int X;                  // { dg-message "previous" }
8 template<X> struct X {};        // { dg-error "typedef-name" }