mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 05:35:11 +00:00
3aa342be50
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192764 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
479 B
LLVM
13 lines
479 B
LLVM
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
|
|
; Verify that llvm.ident is properly structured.
|
|
; llvm.ident takes a list of metadata entries.
|
|
; Each metadata entry can have only one string.
|
|
|
|
!llvm.ident = !{!0, !1}
|
|
!0 = metadata !{metadata !"version string"}
|
|
!1 = metadata !{metadata !"string1", metadata !"string2"}
|
|
; CHECK: assembly parsed, but does not verify as correct!
|
|
; CHECK-NEXT: incorrect number of operands in llvm.ident metadata
|
|
; CHECK-NEXT: metadata !1
|
|
|