OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [type1.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do assemble  }
// { dg-do assemble  }
// Test that using an elaborated-type-specifier in a namespace to refer
// Test that using an elaborated-type-specifier in a namespace to refer
// to a class outside the namespace does not cause its name to be considered
// to a class outside the namespace does not cause its name to be considered
// declared in the namespace.
// declared in the namespace.
// Contributed by Jason Merrill 
// Contributed by Jason Merrill 
struct A { };
struct A { };
int A;
int A;
namespace N {
namespace N {
  struct A *f ();
  struct A *f ();
}
}
using namespace N;
using namespace N;
struct A *a;
struct A *a;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.