diff options
Diffstat (limited to 'test/MC/ELF/ARM/gnu-type-hash.s')
-rw-r--r-- | test/MC/ELF/ARM/gnu-type-hash.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/ELF/ARM/gnu-type-hash.s b/test/MC/ELF/ARM/gnu-type-hash.s new file mode 100644 index 0000000..ae5c47c --- /dev/null +++ b/test/MC/ELF/ARM/gnu-type-hash.s @@ -0,0 +1,16 @@ +@ RUN: llvm-mc -triple arm-elf -filetype asm -o - %s | FileCheck %s + + .syntax unified + + .type TYPE #STT_FUNC +// CHECK: .type TYPE,%function + + .type type #function +// CHECK: .type type,%function + + .type comma_TYPE, #STT_FUNC +// CHECK: .type comma_TYPE,%function + + .type comma_type, #function +// CHECK: .type comma_type,%function + |