You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
218 B

// RUN: %clang_analyze_cc1 -analyzer-checker=core,apiModeling -verify %s
// expected-no-diagnostics
namespace llvm {
template <typename>
void cast(...);
void a() { cast<int>(int()); } // no-crash
} // namespace llvm