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. 5 6// Contributed by Jason Merrill <jason@cygnus.com> 7 8struct A { }; 9 10int A; 11 12namespace N { 13 struct A *f (); 14} 15 16using namespace N; 17 18struct A *a; 19