1// RUN: mlir-opt --no-implicit-module \ 2// RUN: --pass-pipeline='any(buffer-deallocation)' --verify-diagnostics \ 3// RUN: --split-input-file %s 4 5// Note: "buffer-deallocation" is a function pass. Any other function pass could 6// be used for this test. 7 8// expected-error@below {{trying to schedule a pass on an operation not marked as 'IsolatedFromAbove'}} 9arith.constant 0 10 11// ----- 12 13// expected-error@below {{trying to schedule a pass on an unregistered operation}} 14"test.op"() : () -> () 15 16// ----- 17 18// expected-error@below {{trying to schedule a pass on an unsupported operation}} 19module {} 20