Xamarin Public Jenkins (auto-signing) 279aa8f685 Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00

23 lines
549 B
LLVM

; RUN: llvm-link %p/alignment.ll %p/Inputs/alignment.ll -S | FileCheck %s
; RUN: llvm-link %p/Inputs/alignment.ll %p/alignment.ll -S | FileCheck %s
@A = weak global i32 7, align 4
; CHECK-DAG: @A = global i32 7, align 8
@B = weak global i32 7, align 8
; CHECK-DAG: @B = global i32 7, align 4
define weak void @C() align 4 {
ret void
}
; CHECK-DAG: define void @C() align 8 {
define weak void @D() align 8 {
ret void
}
; CHECK-DAG: define void @D() align 4 {
@E = common global i32 0, align 4
; CHECK-DAG: @E = common global i32 0, align 8