Debian Codegraph @

gcc/testsuite/g++.dg/template/operator12.C

raw
1 // PR c++/59707
2
3 struct T {
4 template<class D> operator D*() const;
5 };
6
7 void f(T x) {
8 x < x; // { dg-error "no match" }
9 }