blob: 4c363c69edbb40f21ba9f76480478b53eba5a955 [file] [log] [blame]
Alex Lorenz00302df2015-06-19 20:12:03 +00001# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2# This test ensures that an error is reported whenever the MIR parser can't find
3# a basic block with the machine basis block's name.
4
5--- |
6
7 define i32 @foo() {
8 entry:
9 ret i32 0
10 }
11
12...
13---
14name: foo
15body:
16 # CHECK: basic block 'entrie' is not defined in the function 'foo'
17 - name: entrie
18...