llvm-for-llvmta/tools/clang/test/Analysis/trustnonnullchecker_test.mm
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02: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
}