diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-04 01:58:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-04 01:58:26 +0000 |
commit | b9befc5179f792c48f2dbf46c75b019cd3dc1b11 (patch) | |
tree | 6d41d562f46fdd781f0d06c93dc3d816f6b1df9f | |
parent | 71d94d16b6011b4e9be69678addb9265a6c65266 (diff) |
Test that trivial constants are not printed in hex notation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19281 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Assembler/2005-01-03-FPConstantDisassembly.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/2005-01-03-FPConstantDisassembly.ll b/test/Assembler/2005-01-03-FPConstantDisassembly.ll new file mode 100644 index 0000000000..bd0d389ff7 --- /dev/null +++ b/test/Assembler/2005-01-03-FPConstantDisassembly.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llvm-dis | grep '1.0' + +double %test() { + ret double 1.0 ;; This should not require hex notation +} + |