URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [rfg26.C] - Rev 772
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