2014-09-09 14:27:09 +00:00
|
|
|
; RUN: llvm-link %s %p/Inputs/linkage2.ll -S | FileCheck %s
|
|
|
|
; RUN: llvm-link %p/Inputs/linkage2.ll %s -S | FileCheck %s
|
|
|
|
|
|
|
|
@test1_a = common global i8 0
|
2014-09-09 15:59:12 +00:00
|
|
|
; CHECK-DAG: @test1_a = common global i8 0
|
2014-09-09 14:52:27 +00:00
|
|
|
|
|
|
|
@test2_a = global i8 0
|
2014-09-09 15:59:12 +00:00
|
|
|
; CHECK-DAG: @test2_a = global i8 0
|
|
|
|
|
|
|
|
@test3_a = common global i8 0
|
|
|
|
; CHECK-DAG: @test3_a = common global i16 0
|
2014-09-09 17:48:18 +00:00
|
|
|
|
|
|
|
@test4_a = common global i8 0, align 8
|
|
|
|
; CHECK-DAG: @test4_a = common global i16 0, align 8
|