1 // PR c++/85437 2 // { dg-do compile { target c++11 } } 3 4 struct A { }; 5 struct B : A { int x; }; 6 7 constexpr int A::*abx 8 = reinterpret_cast<int(A::*)>(&B::x); // { dg-error "reinterpret.*constant" } 9