[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaObjCXX / nullability-consistency.mm
blob09c9a84475a93916868727a9a36678b9b919ec70
1 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -verify
2 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -Wsystem-headers -DWARN_IN_SYSTEM_HEADERS -verify
4 #include "nullability-consistency-1.h"
5 #include "nullability-consistency-3.h"
6 #include "nullability-consistency-4.h"
7 #include "nullability-consistency-5.h"
8 #include "nullability-consistency-5.h"
9 #include "nullability-consistency-6.h"
10 #include "nullability-consistency-7.h"
11 #include "nullability-consistency-8.h"
12 #include "nullability-consistency-smart.h"
13 #include "nullability-consistency-system.h"
15 void h1(int *ptr) { } // don't warn
17 void h2(int * _Nonnull) { }