2015-06-20 07:17:55 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -verify
|
|
|
|
// RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-system %s -Wsystem-headers -DWARN_IN_SYSTEM_HEADERS -verify
|
2015-06-20 02:27:45 +08:00
|
|
|
|
|
|
|
#include "nullability-consistency-1.h"
|
|
|
|
#include "nullability-consistency-3.h"
|
|
|
|
#include "nullability-consistency-4.h"
|
|
|
|
#include "nullability-consistency-5.h"
|
|
|
|
#include "nullability-consistency-5.h"
|
|
|
|
#include "nullability-consistency-6.h"
|
|
|
|
#include "nullability-consistency-7.h"
|
|
|
|
#include "nullability-consistency-8.h"
|
2015-06-20 07:17:55 +08:00
|
|
|
#include "nullability-consistency-system.h"
|
2015-06-20 02:27:45 +08:00
|
|
|
|
|
|
|
void h1(int *ptr) { } // don't warn
|
|
|
|
|
2015-06-25 06:02:08 +08:00
|
|
|
void h2(int * _Nonnull) { }
|