Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
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
;
}