1 // RUN: mlir-opt %s -pass-pipeline='builtin.module(func.func(test-pass-failure{gen-diagnostics}))' -verify-diagnostics
3 // Test that all errors are reported.
4 // expected-error@below {{illegal operation}}
5 func.func @TestAlwaysIllegalOperationPass1() {
9 // expected-error@below {{illegal operation}}
10 func.func @TestAlwaysIllegalOperationPass2() {
14 // expected-error@below {{illegal operation}}
15 func.func @TestAlwaysIllegalOperationPass3() {