; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin8 | not grep {7}

; Darwin 9+ should get alignment on common symbols.  Darwin8 does 
; not support this.
@array = weak global [4128 x i32] zeroinitializer, align 128

; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep {array,16512,7}
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin8 | not grep {7}

; Darwin 9+ should get alignment on common symbols.  Darwin8 does 
; not support this.
@array = common global [4128 x i32] zeroinitializer, align 128

Use common where we mean common, not weak.
Use common where we mean common, not weak.



git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@51173 91177308-0d34-0410-b5e6-96231b3b80d8
