Home | History | Annotate | Download | only in Verifier
      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 have only one string.
      5 
      6 !llvm.ident = !{!0, !1}
      7 !0 = metadata !{metadata !"version string"}
      8 !1 = metadata !{metadata !"string1", metadata !"string2"}
      9 ; CHECK: assembly parsed, but does not verify as correct!
     10 ; CHECK-NEXT: incorrect number of operands in llvm.ident metadata
     11 ; CHECK-NEXT: metadata !1
     12 
     13