Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjCXX / nullability-consistency.mm
blob6921d8b9d3dd5b00717b54606bb7a8ed8b439b79
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-system.h"
14 void h1(int *ptr) { } // don't warn
16 void h2(int * _Nonnull) { }