[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / directive-eabi_attribute-diagnostics.s
bloba20c63013538a199543e29481bc1c6193641a32d
1 @ RUN: not llvm-mc -triple armv7-elf -filetype asm -o /dev/null %s 2>&1 \
2 @ RUN: | FileCheck %s
4 .syntax unified
5 .thumb
7 .eabi_attribute Tag_unknown_name, 0
8 @ CHECK: error: attribute name not recognised: Tag_unknown_name
9 @ CHECK: .eabi_attribute Tag_unknown_name
10 @ CHECK: ^
12 .eabi_attribute [non_constant_expression], 0
13 @ CHECK: error: expected numeric constant
14 @ CHECK: .eabi_attribute [non_constant_expression], 0
15 @ CHECK: ^
17 .eabi_attribute 42, "forty two"
18 @ CHECK: error: expected numeric constant
19 @ CHECK: .eabi_attribute 42, "forty two"
20 @ CHECK: ^
22 .eabi_attribute 43, 43
23 @ CHECK: error: bad string constant
24 @ CHECK: .eabi_attribute 43, 43
25 @ CHECK: ^
27 .eabi_attribute 0
28 @ CHECK: :[[#@LINE-1]]:19: error: expected comma
29 @ CHECK: .eabi_attribute 0
30 @ CHECK: ^
32 .eabi_attribute Tag_compatibility, 1
33 @ CHECK: :[[#@LINE-1]]:45: error: expected comma
34 @ CHECK: .eabi_attribute Tag_compatibility, 1
35 @ CHECK: ^
37 .eabi_attribute Tag_MPextension_use_old, 0
38 @ CHECK: error: attribute name not recognised: Tag_MPextension_use_old
39 @ CHECK: .eabi_attribute Tag_MPextension_use_old, 0
40 @ CHECK: ^