Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
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
}