Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Feature / global_section.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | 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 int 4, section "foo", align 16
6
7 void %test() section "bar" {
8         ret void
9 }
10