diff --git a/test/Assembler/2002-04-07-InfConstant.llx b/test/Assembler/2002-04-07-InfConstant.llx new file mode 100644 index 00000000000..81ac678c429 --- /dev/null +++ b/test/Assembler/2002-04-07-InfConstant.llx @@ -0,0 +1,11 @@ +; The output formater prints out 1.0e100 as Inf! +; +; RUN: as < %s | dis | as | dis + +implementation + +float "test"() +begin + %tmp = mul float 1.0e100, 1.0e1 + ret float %tmp +end