[test/ARCMT/verify.m] Add lit test for `5e035651fd3acbb2645abbe80cae332d90eac78a...
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>
Tue, 7 Mar 2023 06:26:52 +0000 (22:26 -0800)
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>
Wed, 8 Mar 2023 04:23:07 +0000 (20:23 -0800)
Differential Revision: https://reviews.llvm.org/D145473

clang/test/ARCMT/verify.m

index 9b46c1a..7480e0d 100644 (file)
@@ -8,6 +8,9 @@
 #error should not be ignored
 // expected-error@-1 {{should not be ignored}}
 
+#error
+// expected-error@-1 {{}}
+
 //      CHECK: error: no expected directives found: consider use of 'expected-no-diagnostics'
 // CHECK-NEXT: error: 'error' diagnostics seen but not expected:
 // CHECK-NEXT:   (frontend): error reading '{{.*}}verify.m.tmp.invalid'