diff options
Diffstat (limited to 'test/MC/ELF/ARM/gnu-type-hash-diagnostics.s')
-rw-r--r-- | test/MC/ELF/ARM/gnu-type-hash-diagnostics.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s b/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s new file mode 100644 index 0000000..eb36475 --- /dev/null +++ b/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s @@ -0,0 +1,9 @@ +@ RUN: not llvm-mc -triple arm-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s + + .syntax unified + + .type TYPE #32 +// CHECK: error: expected symbol type in directive +// CHECK: .type TYPE #32 +// CHECK: ^ + |