From: Tim Northover Date: Wed, 14 Aug 2013 14:55:54 +0000 (+0000) Subject: Add test-case for hex floating-literals X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=73cd0c844ba6c46ddb94405ee28246f084a13a12;p=oota-llvm.git Add test-case for hex floating-literals Somehow I forgot to test one of the error conditions I'd added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188372 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/AsmParser/floating-literals.s b/test/MC/AsmParser/floating-literals.s index 512b7b36207..6578e32ce82 100644 --- a/test/MC/AsmParser/floating-literals.s +++ b/test/MC/AsmParser/floating-literals.s @@ -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