llvm-project/clang/test/Analysis/trustnonnullchecker_test.mm

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
}