llvm-project/llvm/test/Transforms/ConstantMerge/2003-10-28-MergeExternalCon...

8 lines
212 B
LLVM

; RUN: opt -S -constmerge < %s | FileCheck %s
; CHECK: @foo = constant i32 6
; CHECK: @bar = constant i32 6
@foo = constant i32 6 ; <i32*> [#uses=0]
@bar = constant i32 6 ; <i32*> [#uses=0]