11 lines · plain
1; RUN: echo "@G = weak global {{{{double}}}} zeroinitializer " | \2; RUN: llvm-as > %t.out2.bc3; RUN: llvm-as < %s > %t.out1.bc4; RUN: llvm-link %t.out1.bc %t.out2.bc -S | FileCheck %s5; CHECK-NOT: }6 7; When linked, the global above should be eliminated, being merged with the 8; global below.9 10@G = global double 1.011