blob: 7eba59039b956513b458a8828502be2771125495 [file] [log] [blame]
Reid Spencer50006ba2007-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
Reid Spencerce380562007-01-26 08:25:06 +00006@X = global i31 undef
Reid Spencer50006ba2007-01-16 18:08:22 +00007
Reid Spencer50006ba2007-01-16 18:08:22 +00008
Reid Spencerce380562007-01-26 08:25:06 +00009declare i32 @"atoi"(i8 *)
Reid Spencer50006ba2007-01-16 18:08:22 +000010
Reid Spencerce380562007-01-26 08:25:06 +000011define i63 @test() {
Zhou Shengee187be2007-01-19 14:30:59 +000012 ret i63 undef
Reid Spencer50006ba2007-01-16 18:08:22 +000013}
14
Reid Spencerce380562007-01-26 08:25:06 +000015define i31 @test2() {
Zhou Shengee187be2007-01-19 14:30:59 +000016 %X = add i31 undef, 1
17 ret i31 %X
Reid Spencer50006ba2007-01-16 18:08:22 +000018}