Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
scast1.C
blob: 9a905d028dfacb3f6da03b2dbe96e6bdc52fbebb [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
A
{};
class
C
{};
int
main
()
{
A
*
a
=
0
;
C
*
c
=
static_cast
<
C
*>(
a
);
// { dg-error "" } bad static cast
}