]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp77.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C
deleted file mode 100644 (file)
index d8d70c5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-extern "C" int strcmp(const char*, const char*);
-
-template <class T>
-struct S3
-{
-  template <class U>
-  static const char* h(U);
-};
-
-template <>
-template <>
-const char* S3<double>::h(int) { return __PRETTY_FUNCTION__; }
-
-template <>
-template <>
-const char* S3<char>::h(int) { return __PRETTY_FUNCTION__; }
-
-int main()
-{
-  if (strcmp (S3<double>::h(7), 
-             "static const char* S3<T>::h(U) [with U = int, T = double]") == 0)
-    return 0;
-  else 
-    return 1;
-}