xref: /llvm-project/llvm/test/Feature/global_section.ll (revision 1842a2909e80da9432c5d79a95ec2c331bd99744)
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              ; <ptr> [#uses=0]
6
7define void @test() section "bar" {
8        ret void
9}
10
11