]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/scoped1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / scoped1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/scoped1.C b/gcc/testsuite/g++.old-deja/g++.ns/scoped1.C
deleted file mode 100644 (file)
index 63aa471..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 10 Aug 2000 <nathan@codesourcery.com>
-
-// Bug 354. We ICE'd before saying a namespace isn't an aggregate type.
-
-namespace mlp
-{
-  struct base
-  {
-    void reset ();
-  };
-}
-
-struct eo : mlp:: base
-{
-};
-
-void foo (eo &ref)
-{
-  ref.mlp::base::reset ();
-  ref.base::reset ();
-  ref.reset ();
-  ref.mlp::reset ();        // ERROR - not an aggregate type
-}