decl2.C   [plain text]


// { dg-do assemble { xfail *-*-* } }

// 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