Commit bafb62a2 by Alexandre Oliva Committed by Alexandre Oliva

* g++.dg/lookup/strong-using-1.C: New.

From-SVN: r75598
parent b0fd7d27
2004-01-09 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/lookup/strong-using-1.C: New.
2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/11234
......
// PR c++/13594 (secondary)
// { dg-do compile }
namespace foo {
template <class T> void swap(T, T);
}
namespace fool {
using namespace foo __attribute__((strong));
template <class T> void swap(T);
}
int main() {
// we used to fail to look up the associated namespace here
fool::swap(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