reinterpret3.C   [plain text]


struct S {};

S s;

void f() {
  reinterpret_cast<const S>(s); // { dg-error "" }
}