llvm.org GIT mirror llvm / 7e621f3 test / Linker / module-flags-4-a.ll
7e621f3

Tree @7e621f3 (Download .tar.gz)

module-flags-4-a.ll @7e621f3raw · history · blame

; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - |& FileCheck %s

; Test 'require' error.

; CHECK: linking module flags 'bar': does not have the required value

!0 = metadata !{ i32 1, metadata !"foo", i32 37 }
!1 = metadata !{ i32 1, metadata !"bar", i32 927 }

!llvm.module.flags = !{ !0, !1 }