mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 09:21:13 +00:00
b7bfc99302
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270967 91177308-0d34-0410-b5e6-96231b3b80d8
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 }
|