URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [overload20.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: this code causes an internal compiler error 4.
void f (char *);
void f (int);
struct A {
void f (); // { dg-error "" } candidate
void f (int); // { dg-error "" } candidate
void g () {
void (*p)(char *) = f; // { dg-error "" } no matching function in scope
}
};
Go to most recent revision | Compare with Previous | Blame | View Log