[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / mlir / test / Pass / full_diagnostics.mlir
blob881260ce60d321095f65bedad2631abc7c8d324e
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() {
6   return
9 // expected-error@below {{illegal operation}}
10 func.func @TestAlwaysIllegalOperationPass2() {
11   return
14 // expected-error@below {{illegal operation}}
15 func.func @TestAlwaysIllegalOperationPass3() {
16   return