blob: 98d68f7cd46cf3eed63c59260174996412583d6b [file] [log] [blame]
Matthias Braun538859c2016-07-16 02:24:59 +00001# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
Alex Lorenz00302df2015-06-19 20:12:03 +00002# 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
Alex Lorenz5022f6b2015-08-13 23:10:16 +000015body: |
16 ; CHECK: [[@LINE+1]]:3: basic block 'entrie' is not defined in the function 'foo'
17 bb.0.entrie:
Alex Lorenz00302df2015-06-19 20:12:03 +000018...