diff options
Diffstat (limited to 'test/MC/Mips/asciiz-directive-bad.s')
-rw-r--r-- | test/MC/Mips/asciiz-directive-bad.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/Mips/asciiz-directive-bad.s b/test/MC/Mips/asciiz-directive-bad.s new file mode 100644 index 000000000000..0f30cfbee630 --- /dev/null +++ b/test/MC/Mips/asciiz-directive-bad.s @@ -0,0 +1,8 @@ +# RUN: not llvm-mc -triple mips-unknown-linux %s 2>&1 | FileCheck %s + + .asciiz 12 +# CHECK: :[[@LINE-1]]:11: error: expected string in '.asciiz' directive + .asciiz "a"3 +# CHECK: :[[@LINE-1]]:14: error: unexpected token in '.asciiz' directive + .asciiz "a", +# CHECK: :[[@LINE-1]]:15: error: expected string in '.asciiz' directive |