llvm-project/llvm/test/Assembler/2002-04-07-InfConstant.llx

12 lines
209 B
Plaintext
Raw Normal View History

; The output formater prints out 1.0e100 as Inf!
;
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as | llvm-dis
implementation
float "test"()
begin
%tmp = mul float 1.0e100, 1.0e1
ret float %tmp
end