]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ptrmem1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem1.C
deleted file mode 100644 (file)
index e14c726..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-class foo
-{
-public:
-  template<class T>
-  T bar() { return 7; }
-};
-
-int
-main()
-{
-  foo f;
-  
-  int (foo::*s)() = &foo::template bar<int>;
-  if ((f.*s)() == 7)
-    return 0;
-  else 
-    return 1;
-}