summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/conv10.C
blob: 0a001be14e1967dc13aaf637aa41356d470559b8 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/41994

template<typename T> struct A
{
  operator T();
  A() { T (A::*f)() = &A::operator T; }
};

A<int> a;