llvm-6502/test/Linker/func-attrs-b.ll
Bill Wendling d221469cc6 Verify that attributes are not lost during linking.
We don't want to lose attributes when a function decl without them is merged
with a function decl that has them.
PR2382

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200030 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-24 19:20:15 +00:00

9 lines
228 B
LLVM

; This file is used with func-attrs-a.ll
; RUN: true
%struct.S0 = type <{ i8, i8, i8, i8 }>
define void @check0(%struct.S0* sret %agg.result, %struct.S0* byval %arg0, %struct.S0* %arg1, %struct.S0* byval %arg2) {
ret void
}