aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/module-flags-2-a.ll
blob: 3ae02889d16beaaf61e14fefadd546ba4aa7fef6 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-link %s %p/module-flags-2-b.ll -S -o - | sort | FileCheck %s

; Test the 'override' behavior.

; CHECK: !0 = metadata !{i32 4, metadata !"foo", i32 37}
; CHECK: !llvm.module.flags = !{!0}

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

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