From: Tim Northover Date: Wed, 14 Aug 2013 14:55:54 +0000 (+0000) Subject: Add test-case for hex floating-literals X-Git-Tag: llvmorg-3.4.0-rc1~6452 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=680c1acc84ed60deac2b98e5f9275bc9b2efe6cd;p=platform%2Fupstream%2Fllvm.git Add test-case for hex floating-literals Somehow I forgot to test one of the error conditions I'd added. llvm-svn: 188372 --- diff --git a/llvm/test/MC/AsmParser/floating-literals.s b/llvm/test/MC/AsmParser/floating-literals.s index 512b7b362072..6578e32ce822 100644 --- a/llvm/test/MC/AsmParser/floating-literals.s +++ b/llvm/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