summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/operator2.C
blob: 89f428d5fc50d2c0a45a5417c2e9b8c17a26983d (plain)
1
2
3
4
5
6
7
8
template <typename T> struct A {};

struct B {
  operator A<B>();
};

template <typename T>
void f() { B::operator A<T>; }