URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [template30.C] - Rev 377
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T, class U>
int func(U, T); // { dg-message "candidates" }
template <class T, class U>
int func(T, U) // { dg-message "note" }
{
return 2;
}
int main ()
{
func (0, 1); // { dg-error "ambiguous" }
}
Go to most recent revision | Compare with Previous | Blame | View Log