Merging r259342 (with s/p2align 4/align 16) because r258750 is not in 3.8.
[oota-llvm.git] / test / Feature / global_section.ll
1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
4
5 @X = global i32 4, section "foo", align 16              ; <i32*> [#uses=0]
6
7 define void @test() section "bar" {
8         ret void
9 }
10