brintos

brintos / llvm-project-archived public Read only

0
0
Text · 806 B · 52b145b Raw
25 lines · plain
1/// attribute parsing error cases.2 3// RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 \4// RUN:   | FileCheck %s5 6  .attribute Tag_unknown_name, 07// CHECK: [[#@LINE-1]]:14: error: attribute name not recognized: Tag_unknown_name8// CHECK-NEXT:   .attribute Tag_unknown_name9 10  .attribute [non_constant_expression], 011// CHECK: [[#@LINE-1]]:14: error: expected numeric constant12// CHECK-NEXT:   .attribute [non_constant_expression], 013 14  .attribute 42, "forty two"15// CHECK: [[#@LINE-1]]:18: error: expected numeric constant16// CHECK-NEXT:   .attribute 42, "forty two"17 18  .attribute Tag_arch, "v75"19// CHECK: [[#@LINE-1]]:24: error: expected numeric constant20// CHECK-NEXT:   .attribute Tag_arch, "v75"21 22  .attribute 023// CHECK: :[[#@LINE-1]]:15: error: expected comma24// CHECK-NEXT:   .attribute 025