]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/pmf3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / pmf3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/pmf3.C b/gcc/testsuite/g++.old-deja/g++.other/pmf3.C
deleted file mode 100644 (file)
index 2378122..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Submitted by Nathan Sidwell <nathan@acm.org>
-// Bug: g++ was crashing after giving errors.
-
-template<class T>
-  void connect_to_method(
-    T *receiver,
-    void (T::*method)())
-  {}
-
-class Gtk_Base
-{ 
-public:
-  void expose();
-  void show();
-  void show(int);
-  Gtk_Base();
-};
-
-
-Gtk_Base::Gtk_Base()
-{
-  connect_to_method(this,&show);   // ERROR - invalid pmf expression
-  connect_to_method(this,&expose); // ERROR - invalid pmf expression
-}