diff options
Diffstat (limited to 'test/MC/ARM/invalid-hint-arm.s')
-rw-r--r-- | test/MC/ARM/invalid-hint-arm.s | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/MC/ARM/invalid-hint-arm.s b/test/MC/ARM/invalid-hint-arm.s index e0cd97a19028..49a2e5c7c59f 100644 --- a/test/MC/ARM/invalid-hint-arm.s +++ b/test/MC/ARM/invalid-hint-arm.s @@ -1,7 +1,8 @@ -@ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s +@ RUN: not llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s -hint #5 -hint #100 +hint #240 +hint #1000 + +@ CHECK: error: immediate operand must be in the range [0,239] +@ CHECK: error: immediate operand must be in the range [0,239] -@ CHECK: error: immediate operand must be in the range [0,4] -@ CHECK: error: immediate operand must be in the range [0,4] |