view mlir/test/IR/print-op-on-diagnostic.mlir @ 154:f7e988d3e4cc

fix def file
author anatofuz
date Wed, 11 Mar 2020 19:23:03 +0900
parents 1d019706d866
children 0572611fdcc8
line wrap: on
line source

// RUN: mlir-opt %s -verify-diagnostics -mlir-print-op-on-diagnostic

// This file tests the functionality of 'mlir-print-op-on-diagnostic'.

// expected-error@below {{invalid to use 'test.invalid_attr'}}
// expected-note@below {{see current operation: "module"()}}
module attributes {test.invalid_attr} {}