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