• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: echo " @G = appending global [0 x i32] zeroinitializer " | \
2; RUN:   llvm-as > %t.out2.bc
3; RUN: llvm-as < %s > %t.out1.bc
4; RUN: llvm-link %t.out1.bc %t.out2.bc -S | FileCheck %s
5; CHECK: @G =
6
7; When linked, the globals should be merged, and the result should still
8; be named '@G'.
9
10@G = appending global [1 x i32] zeroinitializer		; <[1 x i32]*> [#uses=0]
11
12