2 // Origin: <marco dot franzen at bigfoot dot com>
3 // PR c++/10126: Handle ptmf default conversions while matching a template
14 template <int (D::*fun)() const> int Get();
18 Get<&B::I>(); // { dg-error "no matching function" }
19 Get<&D::I>(); // { dg-error "no matching function" }