1*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc -triple armv7-elf -filetype asm -o /dev/null %s 2>&1 \ 2*9880d681SAndroid Build Coastguard Worker@ RUN: | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker .syntax unified 5*9880d681SAndroid Build Coastguard Worker .thumb 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker .eabi_attribute Tag_unknown_name, 0 8*9880d681SAndroid Build Coastguard Worker@ CHECK: error: attribute name not recognised: Tag_unknown_name 9*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute Tag_unknown_name 10*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker .eabi_attribute [non_constant_expression], 0 13*9880d681SAndroid Build Coastguard Worker@ CHECK: error: expected numeric constant 14*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute [non_constant_expression], 0 15*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker .eabi_attribute 42, "forty two" 18*9880d681SAndroid Build Coastguard Worker@ CHECK: error: expected numeric constant 19*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute 42, "forty two" 20*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 21*9880d681SAndroid Build Coastguard Worker 22*9880d681SAndroid Build Coastguard Worker .eabi_attribute 43, 43 23*9880d681SAndroid Build Coastguard Worker@ CHECK: error: bad string constant 24*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute 43, 43 25*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 26*9880d681SAndroid Build Coastguard Worker 27*9880d681SAndroid Build Coastguard Worker .eabi_attribute 0 28*9880d681SAndroid Build Coastguard Worker@ CHECK: error: comma expected 29*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute 0 30*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 31*9880d681SAndroid Build Coastguard Worker 32*9880d681SAndroid Build Coastguard Worker .eabi_attribute Tag_compatibility, 1 33*9880d681SAndroid Build Coastguard Worker@ CHECK: error: comma expected 34*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute Tag_compatibility, 1 35*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 36*9880d681SAndroid Build Coastguard Worker 37*9880d681SAndroid Build Coastguard Worker .eabi_attribute Tag_MPextension_use_old, 0 38*9880d681SAndroid Build Coastguard Worker@ CHECK: error: attribute name not recognised: Tag_MPextension_use_old 39*9880d681SAndroid Build Coastguard Worker@ CHECK: .eabi_attribute Tag_MPextension_use_old, 0 40*9880d681SAndroid Build Coastguard Worker@ CHECK: ^ 41*9880d681SAndroid Build Coastguard Worker 42