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++.bob/] [case1.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 9028
class Foo;
int main()
{
int i=0;
switch (i)
{
case ((Foo *)0): // { dg-error "" }
case ((Foo *)1): // { dg-error "" }
break;
}
}
Go to most recent revision | Compare with Previous | Blame | View Log