URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wreturn-type-7.C] - Rev 701
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/20681
// { dg-options -Wreturn-type }
struct a{~a();a();};
int GetMetaCombination (int a2)
{
a bi;
switch (a2)
{
case 1:
return 18;
break;//removing this works around the warning
default:
return 0;
}
}
Go to most recent revision | Compare with Previous | Blame | View Log