]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/access8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access8.C b/gcc/testsuite/g++.old-deja/g++.other/access8.C
deleted file mode 100644 (file)
index ae516ff..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Build don't link:
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 10 Feb 2000 <nathan@acm.org>
-
-// Test that access to static members from a nested class of the derived
-// type works.
-
-class Base
-{
-  protected:
-  static int Some_var;
-  typedef int Some_t;
-};
-
-class Derived : Base
-{
-  protected:
-  struct Nested
-  {
-    void Foo (Some_t);
-    void Bar (Base::Some_t) { Base::Some_var = 1; }
-  };
-};
-
-void Derived::Nested::Foo (Some_t) {
-  Some_var = 2;
-}