1 ; RUN: llvm-link %p/alignment.ll %p/Inputs/alignment.ll -S | FileCheck %s
2 ; RUN: llvm-link %p/Inputs/alignment.ll %p/alignment.ll -S | FileCheck %s
5 @A = weak global i32 7, align 4
6 ; CHECK-DAG: @A = global i32 7, align 8
8 @B = weak global i32 7, align 8
9 ; CHECK-DAG: @B = global i32 7, align 4
11 define weak void @C() align 4 {
14 ; CHECK-DAG: define void @C() align 8 {
16 define weak void @D() align 8 {
19 ; CHECK-DAG: define void @D() align 4 {
21 @E = common global i32 0, align 4
22 ; CHECK-DAG: @E = common global i32 0, align 8