-// Build don't link:
-// Special g++ Options: -pedantic-errors
+// { dg-do assemble }
+// { dg-options "-pedantic-errors" }
// GROUPS passed sizeof
// ARM $5.3.2
main()
{
// sizeof may not be applied to the type void
- int l = sizeof (void);// ERROR - .*
+ int l = sizeof (void);// { dg-error "" } .*
return 0;
}