Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / strong-using-1.C
blob3d63f25b8b2c58c81c3d3cf56025f7b142841951
1 // PR c++/13594 (secondary)
3 // { dg-do compile }
5 namespace foo {
6   template <class T> void swap(T, T);
8 namespace fool {
9   using namespace foo __attribute__((strong));
10   template <class T> void swap(T);
13 int main() {
14   // we used to fail to look up the associated namespace here
15   fool::swap(1, 1);