URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [spec22.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T>
struct S
{
template <class U>
void f();
};
template <class T>
template <> // { dg-error "enclosing class templates|invalid explicit specialization" }
void S<T>::f<int> () // { dg-error "does not match|invalid function declaration" }
{
}