mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
3aa342be50
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192764 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
538 B
LLVM
14 lines
538 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, !1, !2, !3}
|
|
!0 = metadata !{metadata !"str1"}
|
|
!1 = metadata !{metadata !"str2"}
|
|
!2 = metadata !{metadata !"str3"}
|
|
!3 = metadata !{i32 1}
|
|
; 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: i32 1
|