llvm-capstone/clang/test/Analysis/trustnonnullchecker_test.mm
George Karpenkov 405fdfc34c [analyzer] Do not crash in CallEvent.getReturnType()
When the call expression is not available.

llvm-svn: 328406
2018-03-24 01:53:12 +00:00

10 lines
235 B
Plaintext

// RUN: %clang_analyze_cc1 -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify %s
#include "Inputs/system-header-simulator-for-nullability-cxx.h"
// expected-no-diagnostics
void blah() {
foo(); // no-crash
}