summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/decl2.C
blob: 2e2b91cde86f0c1b5b92b1f413c8487c56c8be8e (plain)
1
2
3
4
5
6
7
8
9
// Build don't link:

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

// crash test - XFAIL *-*-*

template <class T> struct foo { foo(); };
template<class T> foo<T>::foo() {}
T // ERROR - currently an ICE