Sign in
gnu
/
gcc
/
309e2d95e3b930c6f15c8a5346b913158404c76d
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
reinterpret3.C
blob: 0ea280f318ade269a4705181ae34b18e41cc3e5e [
file
] [
log
] [
blame
]
struct
S
{};
S s
;
void
f
()
{
reinterpret_cast
<
const
S
>(
s
);
// { dg-error "3:invalid cast" }
}