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