llvm-6502/test/Linker/linkage2.ll
Rafael Espindola 12af22e8cc Merge alignment of common GlobalValue.
Fixes pr20882.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217455 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-09 17:48:18 +00:00

15 lines
422 B
LLVM

; 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
; CHECK-DAG: @test1_a = common global i8 0
@test2_a = global i8 0
; CHECK-DAG: @test2_a = global i8 0
@test3_a = common global i8 0
; CHECK-DAG: @test3_a = common global i16 0
@test4_a = common global i8 0, align 8
; CHECK-DAG: @test4_a = common global i16 0, align 8