Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
sc1.C
blob: 8d99ed07a8282e57704d590bcf8fa30bc8ec0b39 [
file
] [
log
] [
blame
]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
void
f
()
{
int
*
i
=
0
;
const
int
*
c
=
0
;
static_cast
<
const
int
*>(
i
);
static_cast
<
int
*>(
c
);
// ERROR - casts away constness
}