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