blob: a0cbe4408494be716ea26dd0128df7627fa8aac9 [file] [log] [blame]
Douglas Gregorfd2300e2009-10-29 17:56:10 +00001// RUN: clang-cc -fsyntax-only -verify %s
2
3// PR5336
4template<typename FromCl>
5struct isa_impl_cl {
6 template<class ToCl>
7 static void isa(const FromCl &Val) { }
8};
9
10template<class X, class Y>
11void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); }
12
13class Value;
14void f0(const Value &Val) { isa<Value>(Val); }