[llvm-objcopy] [COFF] Implement --only-section
[llvm-core.git] / test / Linker / module-flags-4-a.ll
blob1c50680054a7af7fdc8ad416d53a569f948320db
1 ; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - 2>&1 | FileCheck %s
3 ; Test 'require' error.
5 ; CHECK: linking module flags 'bar': does not have the required value
7 !0 = !{ i32 1, !"foo", i32 37 }
8 !1 = !{ i32 4, !"bar", i32 927 }
10 !llvm.module.flags = !{ !0, !1 }