1 ;; Test upgrade linker option doesn't create duplicated linker options.
2 ;; Inputs is generated from IR and checked in as bitcode as it will get rejected by verifier.
3 ;; define void @test() {
6 ;; !llvm.module.flags = !{!0}
7 ;; !0 = !{i32 6, !"Linker Options", !1}
9 ;; !2 = !{!"-framework", !"Foundation"}
11 ; RUN: llvm-dis %S/Inputs/linker-options.bc -o - | FileCheck %s
12 ; CHECK: !llvm.linker.options = !{!2}