Test that trivial constants are not printed in hex notation.
authorChris Lattner <sabre@nondot.org>
Tue, 4 Jan 2005 01:58:26 +0000 (01:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Jan 2005 01:58:26 +0000 (01:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19281 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2005-01-03-FPConstantDisassembly.ll [new file with mode: 0644]

diff --git a/test/Assembler/2005-01-03-FPConstantDisassembly.ll b/test/Assembler/2005-01-03-FPConstantDisassembly.ll
new file mode 100644 (file)
index 0000000..bd0d389
--- /dev/null
@@ -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
+}
+