summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash77.C
blob: b4d6e8f4a673aa5509c9da5df84e3894c4077be9 (plain)
1
2
3
4
5
// PR c++/34603

template<typename> struct A; // { dg-error "declaration" }

template<typename T> A<T>::A( struct A; // { dg-error "definition|expected|incomplete" }