mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-24 12:50:42 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223414 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
282 B
LLVM
9 lines
282 B
LLVM
; The linker should choose the largest alignment when linking.
|
|
|
|
; 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
|
|
|
|
; CHECK: @X = global i32 7, align 8
|
|
|
|
@X = weak global i32 7, align 4
|