summaryrefslogtreecommitdiff
path: root/test/Assembler/2002-04-07-InfConstant.ll
blob: 71837c94378c93ef5604f26ee94709129a8a7d7c (plain)
1
2
3
4
5
6
7
8
9
; The output formater prints out 1.0e100 as Inf!
;
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep 0x7FF0000000000000

define float @test() {
        %tmp = fmul float 0x7FF0000000000000, 1.000000e+01               ; <float> [#uses=1]
        ret float %tmp
}