summaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/exprs-invalid.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/exprs-invalid.s')
-rw-r--r--test/MC/AsmParser/exprs-invalid.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/AsmParser/exprs-invalid.s b/test/MC/AsmParser/exprs-invalid.s
index dc27d80..88b2a0a 100644
--- a/test/MC/AsmParser/exprs-invalid.s
+++ b/test/MC/AsmParser/exprs-invalid.s
@@ -6,3 +6,9 @@
// CHECK-ERRORS: error: invalid hexadecimal number
.long 80+0xzz
+
+// CHECK-ERRORS: error: literal value out of range for directive
+.byte 256
+
+// CHECK-ERRORS: error: literal value out of range for directive
+.long 4e71cf69 // double floating point constant due to missing "0x"
OpenPOWER on IntegriCloud