predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / strong-using-1.C
blob739dc936e405e8d010cd035f29b9b7b2a576bb18
1 // PR c++/13594 (secondary)
3 // { dg-do compile }
5 namespace fool {
6   inline namespace foo {
7     template <class T> void swap(T, T);
8   }
9   template <class T> void swap(T);
12 int main() {
13   // we used to fail to look up the associated namespace here
14   fool::swap(1, 1);