// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.UncountedCallArgsChecker -verify %s // expected-no-diagnostics class Base { public: inline void ref(); inline void deref(); }; class Derived : public Base { public: virtual ~Derived(); void ref() const; void deref() const; }; class SubDerived final : public Derived { }; class OtherObject { public: Derived* obj(); }; template inline Target* dynamicDowncast(Source* source) { return static_cast(source); } void foo(OtherObject* other) { dynamicDowncast(other->obj()); }