]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/static3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static3.C b/gcc/testsuite/g++.old-deja/g++.pt/static3.C
deleted file mode 100644 (file)
index bfcfbdb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// On targets that don't support weak symbols, we require an explicit
-// instantiation of arr.
-// excess errors test - XFAIL *-*-aout *-*-coff *-*-hpux* *-*-hms
-
-template<class T>
-struct A {
-  static T arr[5];
-};
-
-template <class T>
-T A<T>::arr[5] = { 0, 1, 2, 3, 4 };
-
-int main ()
-{
-  return A<int>::arr[0];
-}