libstdc++: Workaround glibc headers on ia64-linux
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash7.C
blob977b4e454ba7861b58a1f936ab1d3cdd2a53184c
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // PR c++/10108: ICE in tsubst_decl for error due to non-existence
6 // nested type.
8 template <typename> struct A
10     template <typename> A(typename A::X) {} // { dg-error "does not name a type" }
13 A<void> a;                      // { dg-error "no match" }