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 3 4 5@A = weak global i32 7, align 4 6; CHECK-DAG: @A = global i32 7, align 8 7 8@B = weak global i32 7, align 8 9; CHECK-DAG: @B = global i32 7, align 4 10 11define weak void @C() align 4 { 12 ret void 13} 14; CHECK-DAG: define void @C() align 8 { 15 16define weak void @D() align 8 { 17 ret void 18} 19; CHECK-DAG: define void @D() align 4 { 20 21@E = common global i32 0, align 4 22; CHECK-DAG: @E = common global i32 0, align 8 23