aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/module-flags-4-a.ll
blob: 14d850dd59c70e086a82ef1cdfe3953af8e2954c (plain)
1
2
3
4
5
6
7
8
9
10
; 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 1, !"bar", i32 927 }

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