diff options
-rw-r--r-- | test/Assembler/2002-04-07-InfConstant.llx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2002-04-07-InfConstant.llx b/test/Assembler/2002-04-07-InfConstant.llx new file mode 100644 index 0000000000..81ac678c42 --- /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 |