URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [overload5.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do link }
struct S {};
struct T : public S {};
struct U : public T {};
void f(int T::*) {}
void f(int U::*);
void g(void (T::*)(int)) {}
void g(void (U::*)(int));
int main()
{
int S::*ip;
void (S::*fp)(int);
f(ip);
g(fp);
}
Go to most recent revision | Compare with Previous | Blame | View Log