mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01: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
11 lines
271 B
LLVM
11 lines
271 B
LLVM
; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - 2>&1 | FileCheck %s
|
|
|
|
; Test 'require' error.
|
|
|
|
; CHECK: linking module flags 'bar': does not have the required value
|
|
|
|
!0 = !{ i32 1, !"foo", i32 37 }
|
|
!1 = !{ i32 4, !"bar", i32 927 }
|
|
|
|
!llvm.module.flags = !{ !0, !1 }
|