diff options
Diffstat (limited to 'test/MC/Mips/mips3/invalid-mips4-wrong-error.s')
-rw-r--r-- | test/MC/Mips/mips3/invalid-mips4-wrong-error.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/mips3/invalid-mips4-wrong-error.s b/test/MC/Mips/mips3/invalid-mips4-wrong-error.s new file mode 100644 index 0000000..c9af39a --- /dev/null +++ b/test/MC/Mips/mips3/invalid-mips4-wrong-error.s @@ -0,0 +1,10 @@ +# Instructions that are invalid and are correctly rejected but use the wrong +# error message at the moment. +# +# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips3 \ +# RUN: 2>%t1 +# RUN: FileCheck %s < %t1 + + .set noat + bc1fl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction + bc1tl $fcc7,27 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction |