Commit e58793e8 by Jason Merrill Committed by Jason Merrill

re PR c++/39786 (Qualified name lookup through different numbers of using directives)

	PR c++/39786
	* g++.dg/lookup/using22.C: New.

From-SVN: r153865
parent c5d3d0ba
2009-11-03 Jason Merrill <jason@redhat.com>
PR c++/39786
* g++.dg/lookup/using22.C: New.
PR c++/41876
* g++.dg/parse/eh-decl.C: New.
......
// PR c++/39786
namespace A {
char (*f(char *p))[13] { return 0; }
}
namespace B {
namespace C {
char (*f(int p))[42] { return 0; }
}
using namespace C;
}
using namespace B;
using namespace A;
char x[sizeof *::f(0) == 42 ? 1 : -1];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment