URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bob/] [case1.C] - Rev 12
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;
}
}