URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.