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++.brendan/] [sizeof3.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-pedantic-errors" }
// GROUPS passed sizeof
// ARM $5.3.2
class bar;
int
main()
{
// sizeof may not be applied to an undefined class
int k = sizeof (bar);// { dg-error "" } .*
return 0;
}