1 // RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.UncountedCallArgsChecker -verify %s
2 // expected-no-diagnostics
10 class Derived
: public Base
{
18 class SubDerived final
: public Derived
{
26 template<typename Target
, typename Source
>
27 inline Target
* dynamicDowncast(Source
* source
)
29 return static_cast<Target
*>(source
);
32 void foo(OtherObject
* other
)
34 dynamicDowncast
<SubDerived
>(other
->obj());