| 1 |
// PR c++/13659 |
| 2 |
|
| 3 |
// { dg-options "" } |
| 4 |
// { dg-do compile } |
| 5 |
|
| 6 |
namespace bar { |
| 7 |
inline namespace foo { |
| 8 |
template <class T> void f(T, T); |
| 9 |
} |
| 10 |
template <class T> void f(T); |
| 11 |
} |
| 12 |
|
| 13 |
int main() { |
| 14 |
// Make sure both declarations are brought in. |
| 15 |
using bar::f; |
| 16 |
f(1); |
| 17 |
f(1, 1); |
| 18 |
} |