Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s %p/func-attrs-b.ll -S -o - | FileCheck %s
      2 ; PR2382
      3 
      4 ; CHECK: call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct.S0* byval align 4 null)
      5 ; CHECK: define void @check0(%struct.S0* sret %agg.result, %struct.S0* byval %arg0, %struct.S0* %arg1, %struct.S0* byval %arg2)
      6 
      7 %struct.S0 = type <{ i8, i8, i8, i8 }>
      8 
      9 define void @a() {
     10   call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct.S0* byval align 4 null)
     11   ret void
     12 }
     13 
     14 declare void @check0(%struct.S0*, %struct.S0*, %struct.S0*, %struct.S0*)
     15