llvm-for-llvmta/tools/clang/test/Analysis/trustnonnullchecker_test.mm

10 lines
235 B
Plaintext
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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
}