Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
sizeof1.C
blob: c8242eb553907877b4efb55e1f2d95345a842932 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Options: -pedantic-errors
// GROUPS passed sizeof
// ARM $5.3.2
void
f
()
{
}
int
main
()
{
// sizeof may not be applied to a function
int
i
=
sizeof
(
f
);
// ERROR - .*
return
0
;
}