summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/X86/unnamed.ll
blob: ad410f58eb6ef9a3bbf03e087e08014654bc6a3e (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as -o %t.bc %s
; RUN: llvm-lto -save-merged-module -o %t2 %t.bc
; RUN: llvm-dis -o - %t2.merged.bc | FileCheck %s

; CHECK-NOT: global i32

target triple = "x86_64-unknown-linux-gnu"

@0 = private global i32 42
@foo = constant i32* @0
OpenPOWER on IntegriCloud