Mercurial > hg > CbC > CbC_llvm
view test/Linker/module-flags-pic-2-a.ll @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | |
children | 803732b1fca8 |
line wrap: on
line source
; RUN: not llvm-link %s %p/Inputs/module-flags-pic-2-b.ll -S -o - 2> %t ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s ; test linking modules with two different PIC levels !0 = !{ i32 1, !"PIC Level", i32 1 } !llvm.module.flags = !{!0} ; CHECK-ERRORS: ERROR: linking module flags 'PIC Level': IDs have conflicting values