diff options
Diffstat (limited to 'test/MC/ARM/quad-relocation.s')
-rw-r--r-- | test/MC/ARM/quad-relocation.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ARM/quad-relocation.s b/test/MC/ARM/quad-relocation.s new file mode 100644 index 0000000000000..34de182924e28 --- /dev/null +++ b/test/MC/ARM/quad-relocation.s @@ -0,0 +1,9 @@ +@ RUN: not llvm-mc -triple arm-arm-none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s + + .align 3 +symbol: + .quad(symbol) + +@ CHECK: error: unsupported relocation on symbol +@ CHECK-NEXT: .quad(symbol) +@ CHECK-NEXT: ^ |