global_section.ll 246 B

12345678910
  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. @X = global i32 4, section "foo", align 16 ; <i32*> [#uses=0]
  5. define void @test() section "bar" {
  6. ret void
  7. }