]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/template3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / template3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/template3.C b/gcc/testsuite/g++.old-deja/g++.law/template3.C
deleted file mode 100644 (file)
index 7523824..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link: 
-// GROUPS passed templates
-template< class R, class T1 = R, class T2 = T1 >
-struct plus
-  {
-  R operator()( const T1& x, const T2& y ) const
-    {
-    return x + y;
-    }
-  };
-
-int
-main()
-  {
-  plus< int > p;
-  return 0;
-  }