]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/conv8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / conv8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/conv8.C b/gcc/testsuite/g++.old-deja/g++.other/conv8.C
deleted file mode 100644 (file)
index 9ab3b74..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Build don't link:
-// Origin: Jakub Jelinek <jakub@redhat.com>
-
-class bar
-{
-public:
-    bar();
-    virtual ~bar();
-    static void a();
-};
-
-class baz : public bar
-{
-};
-
-class foo : virtual public baz
-{
-public:
-    static void a();
-    void b();
-};
-
-typedef void (bar::*T)();
-T d;
-
-void foo::a()
-{
-    typedef void(foo::*t)();
-    t c = & foo::b;
-    d = (T) c;                 // WARNING - pointer to member cast
-}