blob: 0ea280f318ade269a4705181ae34b18e41cc3e5e [file] [log] [blame]
struct S {};
S s;
void f() {
reinterpret_cast<const S>(s); // { dg-error "3:invalid cast" }
}