diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-07 07:58:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-07 07:58:25 +0000 |
commit | 24823ccd47d3d59c94d05af18655d9589249d9f8 (patch) | |
tree | 1144583f47d17481f5b188710e78cc38d67b57c8 | |
parent | ec6bed27dd5587d2a737c2eb12ef78c8fd0c6ddd (diff) |
Testcase for bad constant handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2133 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |