diff options
Diffstat (limited to 'llvm/test/MC/SystemZ/insn-bad.s')
| -rw-r--r-- | llvm/test/MC/SystemZ/insn-bad.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/SystemZ/insn-bad.s b/llvm/test/MC/SystemZ/insn-bad.s index 038f745a027..f0a8e414b15 100644 --- a/llvm/test/MC/SystemZ/insn-bad.s +++ b/llvm/test/MC/SystemZ/insn-bad.s @@ -70,6 +70,11 @@ aghi %r0, foo #CHECK: error: {{(instruction requires: distinct-ops)?}} +#CHECK: aghik %r1, %r2, 3 + + aghik %r1, %r2, 3 + +#CHECK: error: {{(instruction requires: distinct-ops)?}} #CHECK: agrk %r2,%r3,%r4 agrk %r2,%r3,%r4 @@ -110,6 +115,11 @@ ahi %r0, 32768 ahi %r0, foo +#CHECK: error: {{(instruction requires: distinct-ops)?}} +#CHECK: ahik %r1, %r2, 3 + + ahik %r1, %r2, 3 + #CHECK: error: invalid operand #CHECK: ahy %r0, -524289 #CHECK: error: invalid operand |

