xref: /llvm-project/clang/test/Analysis/trustnonnullchecker_test.mm (revision e4d242768aefabc0091dd01fabecaffbc2b6984b)
1// RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core,nullability,apiModeling -verify %s
2
3#include "Inputs/system-header-simulator-for-nullability-cxx.h"
4
5// expected-no-diagnostics
6
7void blah() {
8  foo(); // no-crash
9}
10