mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 06:22:56 +02:00
31d9449ed2
This will be needed in order to consistently return an Error to clients of the API being developed in D20268. Differential Revision: http://reviews.llvm.org/D20550 llvm-svn: 270967
10 lines
346 B
LLVM
10 lines
346 B
LLVM
; RUN: llvm-as -o %t1.bc %s
|
|
; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll
|
|
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -o %t %t1.bc %t2.bc 2>&1 | FileCheck %s
|
|
|
|
; CHECK: fatal error: Failed to link module {{.*}}2.bc: linking module flags 'foo': IDs have conflicting values
|
|
|
|
!0 = !{ i32 1, !"foo", i32 1 }
|
|
|
|
!llvm.module.flags = !{ !0 }
|