• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
2; Verify that llvm.ident is properly structured.
3; llvm.ident takes a list of metadata entries.
4; Each metadata entry can contain one string only.
5
6!llvm.ident = !{!0, !1, !2, !3}
7!0 = !{!"str1"}
8!1 = !{!"str2"}
9!2 = !{!"str3"}
10!3 = !{i32 1}
11; CHECK: assembly parsed, but does not verify as correct!
12; CHECK-NEXT: invalid value for llvm.ident metadata entry operand(the operand should be a string)
13; CHECK-NEXT: i32 1
14