summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-07 07:58:25 +0000
committerChris Lattner <sabre@nondot.org>2002-04-07 07:58:25 +0000
commit3448216f32f34c4144c5297e8e15eca1e0c670b1 (patch)
tree5d4f37279fa3379a8135bab762940233ba5dc75b /llvm
parentc0427b9ce97ca0aad5dde044c1b93947919d56aa (diff)
downloadbcm5719-llvm-3448216f32f34c4144c5297e8e15eca1e0c670b1.tar.gz
bcm5719-llvm-3448216f32f34c4144c5297e8e15eca1e0c670b1.zip
Testcase for bad constant handling
llvm-svn: 2133
Diffstat (limited to 'llvm')
-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