diff --git a/mlir/test/CAPI/ir.c b/mlir/test/CAPI/ir.c --- a/mlir/test/CAPI/ir.c +++ b/mlir/test/CAPI/ir.c @@ -442,9 +442,9 @@ fprintf(stderr, "Op print with all flags: "); mlirOperationPrintWithFlags(operation, flags, printToStderr, NULL); fprintf(stderr, "\n"); - // CHECK: Op print with all flags: %{{.*}} = "std.constant"() {elts = - // opaque<"", "0xDEADBEEF"> : tensor<4xi32>, value = 0 : index} : () -> index - // loc(unknown) + // clang-format off + // CHECK: Op print with all flags: %{{.*}} = "std.constant"() {elts = opaque<"", "0xDEADBEEF"> : tensor<4xi32>, value = 0 : index} : () -> index loc(unknown) + // clang-format on mlirOpPrintingFlagsDestroy(flags); }