xref: /llvm-project/llvm/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s (revision b3ed72ed48e69d919fe25973ceb06a456d8be450)
1@ RUN: not llvm-mc -triple arm-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
2
3	.syntax unified
4
5	.type TYPE #32
6// CHECK: error: expected symbol type
7// CHECK: .type TYPE #32
8// CHECK:             ^
9
10  // For ARM, the comment character is '@', so we don't list '@<type>' as a
11  // valid option.
12  .section "foo", "a", @progbits
13// CHECK: error: expected '%<type>' or "<type>"
14