Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
sizeof4.C
blob: 62d76c05bdd81337029eb0fa1d3569b5445e5c77 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ 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
);
// ERROR - .*
return
0
;
}