[llvm] r188372 - Add test-case for hex floating-literals
Tim Northover
tnorthover at apple.com
Wed Aug 14 07:55:55 PDT 2013
Author: tnorthover
Date: Wed Aug 14 09:55:54 2013
New Revision: 188372
URL: http://llvm.org/viewvc/llvm-project?rev=188372&view=rev
Log:
Add test-case for hex floating-literals
Somehow I forgot to test one of the error conditions I'd added.
Modified:
llvm/trunk/test/MC/AsmParser/floating-literals.s
Modified: llvm/trunk/test/MC/AsmParser/floating-literals.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/floating-literals.s?rev=188372&r1=188371&r2=188372&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/floating-literals.s (original)
+++ llvm/trunk/test/MC/AsmParser/floating-literals.s Wed Aug 14 09:55:54 2013
@@ -77,3 +77,6 @@
# CHECK-ERROR: unexpected token in directive
.float 0x.p5
+# CHECK-ERROR: error: invalid hexadecimal floating-point constant: expected exponent part 'p'
+# CHECK-ERROR: unexpected token in directive
+.float 0x1.2
More information about the llvm-commits
mailing list