hanchenye-llvm-project/llvm/test/Feature/small.ll

15 lines
199 B
LLVM
Raw Normal View History

; 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