blob: df3284bedea82576525ce5c7118ad163cbfbb64c [file] [log] [blame]
Chris Lattner76591ca2006-06-16 01:20:58 +00001; The linker should choose the largest alignment when linking.
2
Reid Spenceredca80b2007-04-15 18:11:57 +00003; RUN: echo {@X = global i32 7, align 8} | llvm-as > %t.2.bc
4; RUN: llvm-as < %s > %t.1.bc
Dan Gohman5efe5662009-09-15 15:38:31 +00005; RUN: llvm-link %t.1.bc %t.2.bc -S | grep {align 8}
Chris Lattner76591ca2006-06-16 01:20:58 +00006
Reid Spenceredca80b2007-04-15 18:11:57 +00007@X = weak global i32 7, align 4