2006-06-16 09:20:58 +08:00
|
|
|
; The linker should choose the largest alignment when linking.
|
|
|
|
|
2007-04-16 02:11:57 +08:00
|
|
|
; RUN: echo {@X = global i32 7, align 8} | llvm-as > %t.2.bc
|
|
|
|
; RUN: llvm-as < %s > %t.1.bc
|
|
|
|
; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep {align 8}
|
2006-06-16 09:20:58 +08:00
|
|
|
|
2007-04-16 02:11:57 +08:00
|
|
|
@X = weak global i32 7, align 4
|