]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/memtemp16.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp16.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp16.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp16.C
deleted file mode 100644 (file)
index cfa66aa..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't run:
-// GROUPS passed templates membertemplates
-extern "C" int printf(const char*, ...);
-
-template <class U>
-struct S {
-  template <class T>
-  void operator+(T);
-};
-
-template <class U>
-template <class T>
-void S<U>::operator+(T)
-{
-  printf("Hello, world.\n");
-}
-
-
-int main()
-{
-  S<int> s;
-  s + 3;
-  s + s;
-  s.operator+("Hi");
-
-  S<S<int> > s2;
-  s2 + 3;
-  s2 + s;
-  s2.operator+("Hi");
-}