Restore "Move metadata linking after lazy global materialization/linking."
[oota-llvm.git] / test / Linker / linkage2.ll
1 ; RUN: llvm-link %s %p/Inputs/linkage2.ll -S | FileCheck %s
2 ; RUN: llvm-link %p/Inputs/linkage2.ll %s -S | FileCheck %s
3
4 @test1_a = common global i8 0
5 ; CHECK-DAG: @test1_a = common global i8 0
6
7 @test2_a = global i8 0
8 ; CHECK-DAG: @test2_a = global i8 0
9
10 @test3_a = common global i8 0
11 ; CHECK-DAG: @test3_a = common global i16 0
12
13 @test4_a = common global i8 0, align 8
14 ; CHECK-DAG: @test4_a = common global i16 0, align 8