aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/operator12.C
blob: bc8e91de4cd7248f787c41218e33c5eb2294838b (plain)
1
2
3
4
5
6
7
8
9
// PR c++/59707

struct T {
    template<class D> operator D*() const;
};

void f(T x) {
    x < x;			// { dg-error "no match" }
}