Home | History | Annotate | Download | only in Assembler
      1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
      2 
      3 %struct.foobar = type { i32 }
      4 
      5 @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
      6 @foo.d = internal constant %struct.foobar zeroinitializer, align 4
      7 
      8 define i32 @main() unnamed_addr nounwind ssp {
      9 entry:
     10   %call2 = tail call i32 @zed(%struct.foobar* @foo.d, %struct.foobar* @bar.d) nounwind
     11   ret i32 0
     12 }
     13 
     14 declare i32 @zed(%struct.foobar*, %struct.foobar*)
     15 
     16 ; CHECK: @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
     17 ; CHECK: @foo.d = internal constant %struct.foobar zeroinitializer, align 4
     18 ; CHECK: define i32 @main() unnamed_addr nounwind ssp {
     19