llvm/test/Verifier/ident-meta3.ll
2013-10-16 01:49:05 +00:00

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