• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not mlir-opt %s -mlir-print-op-on-diagnostic 2>&1 | FileCheck %s
2
3// This file tests the functionality of 'mlir-print-op-on-diagnostic'.
4
5// CHECK: {{invalid to use 'test.invalid_attr'}}
6// CHECK: {{see current operation: "module"()}}
7module attributes {test.invalid_attr} {}
8