Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ns / type1.C
bloba7d4c8152e0791593eaa2dfa10012e2b3e53fcf5
1 // { dg-do assemble  }
2 // Test that using an elaborated-type-specifier in a namespace to refer
3 // to a class outside the namespace does not cause its name to be considered
4 // declared in the namespace.
6 // Contributed by Jason Merrill <jason@cygnus.com>
8 struct A { };
10 int A;
12 namespace N {
13   struct A *f ();
16 using namespace N;
18 struct A *a;