From 73cd0c844ba6c46ddb94405ee28246f084a13a12 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Wed, 14 Aug 2013 14:55:54 +0000 Subject: [PATCH] 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 --- test/MC/AsmParser/floating-literals.s | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1