• 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}
7!0 = !{!{!"nested metadata"}}
8; CHECK: assembly parsed, but does not verify as correct!
9; CHECK-NEXT: invalid value for llvm.ident metadata entry operand(the operand should be a string)
10; CHECK-NEXT: !1
11