42 lines · plain
1@ RUN: not llvm-mc -triple armv7-elf -filetype asm -o /dev/null %s 2>&1 \2@ RUN: | FileCheck %s3 4 .syntax unified5 .thumb6 7 .eabi_attribute Tag_unknown_name, 08@ CHECK: error: attribute name not recognised: Tag_unknown_name9@ CHECK: .eabi_attribute Tag_unknown_name10@ CHECK: ^11 12 .eabi_attribute [non_constant_expression], 013@ CHECK: error: expected numeric constant14@ CHECK: .eabi_attribute [non_constant_expression], 015@ CHECK: ^16 17 .eabi_attribute 42, "forty two"18@ CHECK: error: expected numeric constant19@ CHECK: .eabi_attribute 42, "forty two"20@ CHECK: ^21 22 .eabi_attribute 43, 4323@ CHECK: error: bad string constant24@ CHECK: .eabi_attribute 43, 4325@ CHECK: ^26 27 .eabi_attribute 028@ CHECK: :[[#@LINE-1]]:19: error: expected comma29@ CHECK: .eabi_attribute 030@ CHECK: ^31 32 .eabi_attribute Tag_compatibility, 133@ CHECK: :[[#@LINE-1]]:45: error: expected comma34@ CHECK: .eabi_attribute Tag_compatibility, 135@ CHECK: ^36 37 .eabi_attribute Tag_MPextension_use_old, 038@ CHECK: error: attribute name not recognised: Tag_MPextension_use_old39@ CHECK: .eabi_attribute Tag_MPextension_use_old, 040@ CHECK: ^41 42