]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p9206.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p9206.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p9206.C b/gcc/testsuite/g++.old-deja/g++.mike/p9206.C
deleted file mode 100644 (file)
index 5c4b578..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// prms-id: 9206
-
-class X {
-public:
-  void xtest() { }
-};
-
-class Y { };
-
-typedef void (X::*Xptr)();
-typedef void (Y::*Yptr)();
-
-int main() {
-  X xx;
-
-  Xptr xp = &X::xtest;
-  Yptr yp = reinterpret_cast<Yptr>(xp);
-  xp = reinterpret_cast<Xptr>(yp);
-
-  (xx.*xp)();
-}