1; RUN: llvm-link %s %p/Inputs/module-flags-pic-1-b.ll -S -o - | FileCheck %s
2
3; test linking modules with specified and default PIC levels
4
5!0 = !{ i32 7, !"PIC Level", i32 1 }
6
7!llvm.module.flags = !{!0}
8; CHECK: !llvm.module.flags = !{!0}
9; CHECK: !0 = !{i32 7, !"PIC Level", i32 1}
10