blob: 94f51905cda11041418cc79ce1f9654d3342db47 [file] [log] [blame]
Reid Spencerc0948362007-01-16 18:08:22 +00001; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5
Zhou Sheng9160a842007-01-19 14:30:59 +00006%X = global i31 undef
Reid Spencerc0948362007-01-16 18:08:22 +00007
8implementation
9
10declare i32 "atoi"(i8 *)
11
Zhou Sheng9160a842007-01-19 14:30:59 +000012define i63 %test() {
13 ret i63 undef
Reid Spencerc0948362007-01-16 18:08:22 +000014}
15
Zhou Sheng9160a842007-01-19 14:30:59 +000016define i31 %test2() {
17 %X = add i31 undef, 1
18 ret i31 %X
Reid Spencerc0948362007-01-16 18:08:22 +000019}