summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/Generic/machine-function-redefinition-error.mir
blob: be84161b5630aafb7149a1f52dfb52fea842d000 (plain)
1
2
3
4
5
6
7
8
9
10
# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that the machine function errors are reported correctly.

---
name:            foo
...
---
# CHECK: redefinition of machine function 'foo'
name:            foo
...
OpenPOWER on IntegriCloud