module-flags-pic-2-a.ll 331 B

12345678910
  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. ; test linking modules with two different PIC levels
  4. !0 = !{ i32 1, !"PIC Level", i32 1 }
  5. !llvm.module.flags = !{!0}
  6. ; CHECK-ERRORS: ERROR: linking module flags 'PIC Level': IDs have conflicting values