]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/static16.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / static16.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/static16.C b/gcc/testsuite/g++.old-deja/g++.other/static16.C
deleted file mode 100644 (file)
index 0fbaea8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Test that we properly evaluate the object parameter when accessing static
-// members.
-
-struct A {
-  static void f () {}
-  static int i;
-};
-
-int A::i;
-
-int c = 0;
-
-A g ()
-{
-  ++c;
-  return A();
-}
-
-int main ()
-{
-  g().f();
-  g().i = 42;
-  return (c != 2);
-}