Home | History | Annotate | Download | only in Feature
      1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
      2 ; RUN: FileCheck %s < %t1.ll
      3 ; RUN: llvm-as < %t1.ll | llvm-dis > %t2.ll
      4 ; RUN: diff %t1.ll %t2.ll
      5 ; RUN: opt -O3 -S < %t1.ll | FileCheck %s
      6 
      7 ; CHECK: @i
      8 @i = linkonce_odr global i32 1
      9 
     10 ; CHECK: f(){{.*}}prefix i32 1
     11 define void @f() prefix i32 1 {
     12   ret void
     13 }
     14 
     15 ; CHECK: g(){{.*}}prefix i32* @i
     16 define void @g() prefix i32* @i {
     17   ret void
     18 }
     19