blob: f3a8348016712c644393aaf3f93377e02a537def [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 Lorenz735c47e2015-06-15 20:30:22 +00002# This test verifies that an error is reported when a MIR file has some
3# function but is missing a corresponding machine function.
4
5# CHECK: no machine function information for function 'foo' in the MIR file
6
7--- |
8
9 define i32 @foo() {
10 ret i32 0
11 }
12
13...