summaryrefslogtreecommitdiff
path: root/test/Analysis/trustnonnullchecker_test.mm
blob: fa84673492be788422db689f2b6a0c47ff42c9b8 (plain)
1
2
3
4
5
6
7
8
9
// 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
}