struct S {}; S s; void f() { reinterpret_cast(s); // { dg-error "" } }