blob: 364ad711be8407adad1e0ccd193e46e09e4e9663 [file] [log] [blame]
Rafael Espindola3dcdb8d2014-12-04 23:31:21 +00001; The linker should choose the largest alignment when linking.
2
3; RUN: llvm-link %p/alignment.ll %p/Inputs/alignment.ll -S | FileCheck %s
4; RUN: llvm-link %p/Inputs/alignment.ll %p/alignment.ll -S | FileCheck %s
5
6; CHECK: @X = global i32 7, align 8
7
8@X = weak global i32 7, align 4