blob: dc1b7c547a74a114c8b8ffa05f3e5a75cbb7fd4e [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5
6%X = global int undef
7
8implementation
9
10declare int "atoi"(sbyte *)
11
12int %test() {
13 ret int undef
14}
15
16int %test2() {
17 %X = add int undef, 1
18 ret int %X
19}