summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/regress/regress3.C
blob: ffbb97f6b8559ef2c740eda2a6775f73aeb75e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/47511
// { dg-options -std=c++0x }

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