]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/reload1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / reload1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/reload1.C b/gcc/testsuite/g++.old-deja/g++.other/reload1.C
deleted file mode 100644 (file)
index 4ad0d68..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-extern "C" void abort ();
-
-struct A {
-  unsigned long long u;
-} *a;
-
-struct B {
-  unsigned long long v;
-  unsigned long long w ()
-  {
-    return a->u - v;
-  }
-} b;
-
-struct C {
-  static unsigned long long x;
-  static void y (unsigned long long z);
-};
-
-unsigned long long C::x = 0;
-
-int main ()
-{
-  a = new A;
-  b.v = 333418;
-  a->u = 1132270;
-  C::x = 0;
-  C::y (799016);
-}
-
-void foo (unsigned long long a, unsigned long long b, unsigned long long c)
-{
-}
-
-void C::y (unsigned long long z)
-{
-  unsigned long long c = b.w () - x;
-  if (z < b.w ())
-    {
-      if ((long long) c < 0)
-       {
-         foo (b.w (), a->u, b.v);
-         abort ();
-       }
-    }
-}