Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / conversion / const2.C
blobfd2be1f44448d1098ee9d89de8b7ab61794d22ab
1 struct B {};
2 struct D : public B {};
4 typedef int B::*bm;
5 typedef int D::*dm;
7 bm bp;
9 void f() {
10   const_cast<dm>(bp); // { dg-error "" }