summaryrefslogtreecommitdiffstats
path: root/test/SemaObjCXX/Inputs/nullability-consistency-6.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjCXX/Inputs/nullability-consistency-6.h')
-rw-r--r--test/SemaObjCXX/Inputs/nullability-consistency-6.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/SemaObjCXX/Inputs/nullability-consistency-6.h b/test/SemaObjCXX/Inputs/nullability-consistency-6.h
new file mode 100644
index 0000000..cb712e9
--- /dev/null
+++ b/test/SemaObjCXX/Inputs/nullability-consistency-6.h
@@ -0,0 +1,8 @@
+int *ptr; // expected-warning {{missing a nullability type specifier}}
+
+#pragma clang assume_nonnull begin
+
+extern void **blah; // expected-warning 2{{missing a nullability type specifier}}
+
+#pragma clang assume_nonnull end
+
OpenPOWER on IntegriCloud