llvm-project/mlir/test/IR/print-op-on-diagnostic.mlir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
284 B
MLIR
Raw Normal View History

// RUN: not mlir-opt %s -mlir-print-op-on-diagnostic 2>&1 | FileCheck %s
// This file tests the functionality of 'mlir-print-op-on-diagnostic'.
// CHECK: {{invalid to use 'test.invalid_attr'}}
// CHECK: {{see current operation: "module"()}}
module attributes {test.invalid_attr} {}