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