summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/udlit-namespace-using-directive.C
blob: bd1f2066eade478a9bd89f48100dece489b979ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile { target c++11 } }

int operator""_t(long long unsigned) {
    return 0;
}

namespace foo {
  int operator""_t(long long unsigned) {
    return 0;
  }
}

int main() {
  using foo::operator""_t;
  10_t;
}