]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/local4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / local4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/local4.C b/gcc/testsuite/g++.old-deja/g++.pt/local4.C
deleted file mode 100644 (file)
index 6a7eb34..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-extern "C" void abort();
-
-template <class T>
-struct S {};
-
-S<int> si;
-
-template <class T>
-int f(T t)
-{
-  struct S { 
-    int g(int i) { return i + 2; }
-  };
-
-  S s;
-
-  return s.g(t) + s.g(t);
-}
-
-
-int main()
-{
-  if (f(3) != 10)
-    abort();
-}