summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash13.C
blob: 0108081365e52283908d984a5a2db06edf820c9b (plain)
1
2
3
4
5
6
// { dg-do assemble  }

template <class T> struct A {};
template <class T> struct A<T>;    // { dg-error "" } does not specialize args
template <class T> const struct A; // { dg-error "" } parse error
template <class T> template A<int>; // { dg-error "" } .*