2004-11-07 14:08:43 +08:00
|
|
|
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
|
|
|
|
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
|
|
|
; RUN: diff %t1.ll %t2.ll
|
|
|
|
|
2001-06-07 04:29:01 +08:00
|
|
|
%x = type int
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
int "foo"(int %in)
|
|
|
|
begin
|
|
|
|
label:
|
2002-04-17 05:31:08 +08:00
|
|
|
ret int 2
|
2001-06-07 04:29:01 +08:00
|
|
|
end
|
|
|
|
|