brintos

brintos / llvm-project-archived public Read only

0
0
Text · 365 B · c6f54c4 Raw
9 lines · plain
1// RUN: mlir-opt %s -pass-pipeline='builtin.module(func.func(test-pass-invalid-parent))' -verify-diagnostics2 3// Test that we properly report errors when the parent becomes invalid after running a pass4// on a child operation.5// expected-error@below {{'some_unknown_func' does not reference a valid function}}6func.func @TestCreateInvalidCallInPass() {7  return8}9