1 ; RUN: not llvm-link %s %p/Inputs/module-flags-pic-2-b.ll -S -o - 2> %t 2 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s 3 4 ; test linking modules with two different PIC levels 5 6 !0 = !{ i32 1, !"PIC Level", i32 1 } 7 8 !llvm.module.flags = !{!0} 9 10 ; CHECK-ERRORS: ERROR: linking module flags 'PIC Level': IDs have conflicting values 11