URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [typedef.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 4687
// Bug: g++ misinterprets typedefs of function type in class scope.
typedef int (*F1) ();
struct A {
typedef int F();
F *fp;
F1 g() { return fp; } // { dg-bogus "" } typing
};
Go to most recent revision | Compare with Previous | Blame | View Log