// PR c++/28557 struct A { template operator T() { return T(); } }; template void foo() { A().operator int(); } void bar() { foo<0>(); }