aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/koenig10.C
blob: 6a1b9b55be8bf74664d7bc60ab767e6fa99fb5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/47511

namespace N {
    template <typename T> bool g( T ) {
        return true;
    }
    struct A { };
}
template <class T> void f(const T&) {
    N::A x;
    g(x) ;
}