summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr45049-1.C
blob: 7b1dcd568ebe054bdc849636a961ba20067d624f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

namespace n1 {
  void modf ();
}

namespace n2 {
  void trunc ();
  void modf ();
}
    
void max ()
{
  using n1::modf;
  using n2::trunc;
  using n2::modf;
}