10 lines · cpp
1// RUN: %clang_analyze_cc1 -analyzer-checker=core,apiModeling -verify %s2 3// expected-no-diagnostics4 5namespace llvm {6template <typename>7void cast(...);8void a() { cast<int>(int()); } // no-crash9} // namespace llvm10 1// RUN: %clang_analyze_cc1 -analyzer-checker=core,apiModeling -verify %s2 3// expected-no-diagnostics4 5namespace llvm {6template <typename>7void cast(...);8void a() { cast<int>(int()); } // no-crash9} // namespace llvm10