[PATCH] D145473: [test/ARCMT/verify.m] Add lit test for `5e035651fd3acbb2645abbe80cae332d90eac78a` commit

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 22:55:26 PST 2023


akyrtzi created this revision.
Herald added a project: All.
akyrtzi requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145473

Files:
  clang/test/ARCMT/verify.m


Index: clang/test/ARCMT/verify.m
===================================================================
--- clang/test/ARCMT/verify.m
+++ clang/test/ARCMT/verify.m
@@ -8,6 +8,9 @@
 #error should not be ignored
 // expected-error at -1 {{should not be ignored}}
 
+#error
+// expected-error at -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'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145473.502931.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230307/90476a61/attachment.bin>


More information about the cfe-commits mailing list