URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.dg/] [parse/] [typedef9.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/38794
// { dg-do compile }
typedef void foo () {} // { dg-error "invalid function declaration" }
struct S
{
typedef int bar (void) { return 0; } // { dg-error "invalid member function declaration" }
};
Go to most recent revision | Compare with Previous | Blame | View Log