]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/noweak1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / noweak1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/noweak1.C b/gcc/testsuite/g++.old-deja/g++.ext/noweak1.C
deleted file mode 100644 (file)
index bd7d65c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test that -fno-weak doesn't break explicit instantiation of static data.
-// Special g++ Options: -fno-weak
-
-template <class T> struct A
-{
-  static int i;
-};
-
-template <class T> int A<T>::i = 42;
-
-template class A<int>;
-
-int main ()
-{
-  return (A<int>::i != 42);
-}