URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [overload13.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
struct A {
template <class T> int f (T) { return 0; }
int f (int) { return 1; }
};
int main ()
{
A a;
return a.template f (0); // { dg-error "" }
}
Go to most recent revision | Compare with Previous | Blame | View Log