Alex Lorenz | 735c47e | 2015-06-15 20:30:22 +0000 | [diff] [blame^] | 1 | # RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s |
2 | # 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 | ... |