summaryrefslogtreecommitdiff
path: root/test/SemaObjC/nullability-arc.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/nullability-arc.m')
-rw-r--r--test/SemaObjC/nullability-arc.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/nullability-arc.m b/test/SemaObjC/nullability-arc.m
index 917a808386dc..1c303e8300cb 100644
--- a/test/SemaObjC/nullability-arc.m
+++ b/test/SemaObjC/nullability-arc.m
@@ -5,6 +5,6 @@ __attribute__((objc_root_class))
@end
// ARC qualifiers stacked with nullability.
-void accepts_arc_qualified(NSFoo * __unsafe_unretained __nonnull obj) {
+void accepts_arc_qualified(NSFoo * __unsafe_unretained _Nonnull obj) {
accepts_arc_qualified(0); // expected-warning{{null passed to a callee that requires a non-null argument}}
}