[Mlir-commits] [mlir] [mlir] Add test for invalid entry block (PR #133167)

Mehdi Amini llvmlistbot at llvm.org
Sun Mar 30 06:16:37 PDT 2025


================
@@ -0,0 +1,13 @@
+// Bug: https://github.com/llvm/llvm-project/issues/132894
+
+// RUN: not mlir-opt %s 2>&1 | FileCheck %s
+
+// CHECK: error: 'func.func' op entry block must have 1 arguments to match function signature
----------------
joker-eph wrote:

This is already tested in mlir/test/Dialect/LLVMIR/func.mlir

https://github.com/llvm/llvm-project/pull/133167


More information about the Mlir-commits mailing list