[Mlir-commits] [mlir] [mlir] Do not report "missing" diagnostics without `-verify-diagnostics` flag (PR #222690)
Mehdi Amini
llvmlistbot at llvm.org
Sun Oct 11 14:07:07 PDT 2026
================
@@ -0,0 +1,8 @@
+// Check that expected diagnostic directives are ignored without -verify-diagnostics.
+
+// RUN: mlir-opt %s 2>&1 | FileCheck %s
+
+// CHECK-NOT: expected error "an error that is never produced" was not produced
----------------
joker-eph wrote:
```suggestion
// CHECK-NOT: expected error
```
Nit: stronger matching here I believe.
https://github.com/llvm/llvm-project/pull/222690
More information about the Mlir-commits
mailing list