Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
sizeof4.C
blob: 3ac0a8e2ec573b208feaab7be2d43ce2df261b4b [
file
] [
log
] [
blame
]
// { 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
;
}