Eric Christopher | 79cc1e3 | 2014-09-02 22:28:02 +0000 | [diff] [blame] | 1 | ; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll %s > /dev/null |
Andrew Kaylor | 1b2cfb6 | 2013-10-04 00:49:38 +0000 | [diff] [blame] | 2 | |
3 | declare i32 @FB() | ||||
4 | |||||
5 | define i32 @FA() { | ||||
6 | ret i32 0 | ||||
7 | } | ||||
8 | |||||
9 | define i32 @main() { | ||||
10 | %r = call i32 @FB( ) ; <i32> [#uses=1] | ||||
11 | ret i32 %r | ||||
12 | } | ||||
13 |