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