1 /// attribute parsing error cases.
3 // RUN
: not llvm-mc
-triple
=hexagon
-filetype
=asm
%s
2>&1 \
6 .attribute Tag_unknown_name, 0
7 // CHECK
: [[#@LINE-1]]:14: error: attribute name not recognized: Tag_unknown_name
8 // CHECK-NEXT
: .attribute Tag_unknown_name
10 .attribute [non_constant_expression], 0
11 // CHECK
: [[#@LINE-1]]:14: error: expected numeric constant
12 // CHECK-NEXT
: .attribute [non_constant_expression], 0
14 .attribute 42, "forty two"
15 // CHECK
: [[#@LINE-1]]:18: error: expected numeric constant
16 // CHECK-NEXT
: .attribute 42, "forty two"
18 .attribute Tag_arch, "v75"
19 // CHECK
: [[#@LINE-1]]:24: error: expected numeric constant
20 // CHECK-NEXT
: .attribute Tag_arch, "v75"
23 // CHECK
: :[[#@LINE-1]]:15: error: expected comma
24 // CHECK-NEXT
: .attribute 0