blob: 881260ce60d321095f65bedad2631abc7c8d324e [file] [log] [blame]
// RUN: mlir-opt %s -pass-pipeline='builtin.module(func.func(test-pass-failure{gen-diagnostics}))' -verify-diagnostics
// Test that all errors are reported.
// expected-error@below {{illegal operation}}
func.func @TestAlwaysIllegalOperationPass1() {
return
}
// expected-error@below {{illegal operation}}
func.func @TestAlwaysIllegalOperationPass2() {
return
}
// expected-error@below {{illegal operation}}
func.func @TestAlwaysIllegalOperationPass3() {
return
}