// RUN: clang-cc -fsyntax-only -verify %s // PR5336 template struct isa_impl_cl { template static void isa(const FromCl &Val) { } }; template void isa(const Y &Val) { return isa_impl_cl::template isa(Val); } class Value; void f0(const Value &Val) { isa(Val); }