URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [rfg26.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
typedef void (FTYPE) ();
FTYPE f; /* ok */
void
test_0 ()
{
(FTYPE) f; /* { dg-error "" } casting to function type */
}
Go to most recent revision | Compare with Previous | Blame | View Log