]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/spec1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec1.C b/gcc/testsuite/g++.old-deja/g++.pt/spec1.C
deleted file mode 100644 (file)
index ab18ff8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-
-template <class S, class T>
-class mem_fun1_t {
-public:
-  mem_fun1_t(S (T::*pf)(double)) {} 
-};
-
-template <class T>
-class mem_fun1_t<void, T> { 
-public:
-  mem_fun1_t(void (T::*pf)(double)) {}
-};
-
-struct Operation {
-  double eval(double) { return 0; }
-};
-
-int main() {
-  mem_fun1_t<double, Operation> m(&Operation::eval);
-}