PR c++/16021
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / strong-using-3.C
blob9b4d3c3ffea0695313f1e9298280a897370c8367
1 // PR c++/13659
3 // { dg-do compile }
5 namespace bar {
6   namespace foo {
7     template <class T> void f(T, T);
8   }
9   using namespace foo __attribute__((strong));
10   template <class T> void f(T);
13 int main() {
14   // Make sure both declarations are brought in.
15   using bar::f;
16   f(1);
17   f(1, 1);