xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/machine-function-redefinition-error.mir (revision 538859cca3518a981293cf773e490fcf29a153c2)
1# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2# This test ensures that the machine function errors are reported correctly.
3
4---
5name:            foo
6...
7---
8# CHECK: redefinition of machine function 'foo'
9name:            foo
10...
11