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