1 2 3 4 5 6 7 8 9 10 11 12
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.UncountedCallArgsChecker -verify %s // expected-no-diagnostics #include "mock-types.h" void someFunction(RefCountable*); void testFunction() { Ref item = RefCountable::create(); someFunction(item.ptr()); }