summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Regression/Assembler/2002-04-07-InfConstant.llx11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Regression/Assembler/2002-04-07-InfConstant.llx b/llvm/test/Regression/Assembler/2002-04-07-InfConstant.llx
new file mode 100644
index 00000000000..81ac678c429
--- /dev/null
+++ b/llvm/test/Regression/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
OpenPOWER on IntegriCloud