blob: 551f408cf3eb9788b6f1ccc2c76e5bc6fb6f8e1d [file] [log] [blame]
// { dg-do run }
// GROUPS passed sizeof
// ARM $5.3.2
extern "C" int printf (const char *, ...);
class foo {};
int
main ()
{
// The size of any class or class object is larger than zero.
int i = sizeof (foo);
if (i > 0)
printf ("PASS\n");
else
{ printf ("FAIL\n"); return 1; }
}