aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/module-flags-2-a.ll
blob: 5f034618c9f284b9f4740910342c99ef497a6fea (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 = !{i32 4, !"foo", i32 37}
; CHECK: !llvm.module.flags = !{!0}

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

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