blob: 3ac0a8e2ec573b208feaab7be2d43ce2df261b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { dg-do assemble }
// { dg-options "-pedantic-errors" }
// GROUPS passed sizeof
// ARM $5.3.2
int
main()
{
// sizeof may not be applied to the type void
int l = sizeof (void);// { dg-error "" } .*
return 0;
}
|