Inliner pass header file was moved.
[llvm-complete.git] / test / ExecutionEngine / 2003-05-06-LivenessClobber.llx
blobea3f14b5128459ad3fe626a2ac59bac0d57b21db
1 ; This testcase shoudl return with an exit code of 1.
3 ; RUN: llvm-upgrade < %s | llvm-as | not lli
5 %test = global long 0
6 implementation
9 internal long %test() {
10         %tmp.0 = load long* %test               ; <long> [#uses=1]
11         %tmp.1 = add long %tmp.0, 1             ; <long> [#uses=1]
12         ret long %tmp.1
15 int %main() {
16         %L = call long %test()
17         %I = cast long %L to int
18         ret int %I