Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s %p/module-flags-8-b.ll -S -o - | sort | FileCheck %s
      2 
      3 ; Test append-type module flags.
      4 
      5 ; CHECK: !0 = !{i32 5, !"flag-0", !1}
      6 ; CHECK: !1 = !{i32 0, i32 0, i32 1}
      7 ; CHECK: !2 = !{i32 6, !"flag-1", !3}
      8 ; CHECK: !3 = !{i32 0, i32 1, i32 2}
      9 ; CHECK: !llvm.module.flags = !{!0, !2}
     10 
     11 !0 = !{ i32 5, !"flag-0", !{ i32 0 } }
     12 !1 = !{ i32 6, !"flag-1", !{ i32 0, i32 1 } }
     13 
     14 !llvm.module.flags = !{ !0, !1 }
     15