]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Analysis/trustnonnullchecker_test.mm
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / test / Analysis / trustnonnullchecker_test.mm
1 // RUN: %clang_analyze_cc1 -fblocks -analyze -analyzer-checker=core,nullability,apiModeling  -verify %s
2
3 #include "Inputs/system-header-simulator-for-nullability-cxx.h"
4
5 // expected-no-diagnostics
6
7 void blah() {
8   foo(); // no-crash
9 }