diff options
Diffstat (limited to 'test/SemaObjCXX/Inputs/nullability-consistency-4.h')
-rw-r--r-- | test/SemaObjCXX/Inputs/nullability-consistency-4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/SemaObjCXX/Inputs/nullability-consistency-4.h b/test/SemaObjCXX/Inputs/nullability-consistency-4.h index ac227a0885bf0..935c09334e312 100644 --- a/test/SemaObjCXX/Inputs/nullability-consistency-4.h +++ b/test/SemaObjCXX/Inputs/nullability-consistency-4.h @@ -1 +1,3 @@ void double_declarator1(int * * _Nonnull); // expected-warning{{pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)}} +// expected-note@-1 {{insert '_Nullable' if the pointer may be null}} +// expected-note@-2 {{insert '_Nonnull' if the pointer should never be null}} |