Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb18.C
blob: fd953fe07103221b29e2c522701ad03f25b9153d [
file
] [
log
] [
blame
]
// Build don't link:
class
C
{
};
void
foo
()
{
C c
;
void
*
v
=
static_cast
<
void
*>(
c
);
// ERROR - illegal cast
}