summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h
blob: 9161af1cf3532cbe3ce22d47f4f4f8ebe00d549e (plain)
1
2
3
4
5
6
7
8
// Simply marking this as "#pragma clang system_header" didn't tickle the bug, rdar://problem/21134250.

void system1(int *ptr);
#if WARN_IN_SYSTEM_HEADERS
// expected-warning@-2{{pointer is missing a nullability type specifier}}
#endif

void system2(int * _Nonnull);
OpenPOWER on IntegriCloud