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

// Simplified from testcase by Christophe Boyanique <boyan@imac.u-paris2.fr>

template <class T> struct foo { foo(); };
template<class T> foo<T>::foo() {}
T; // { dg-error "" } no type