Verify that attributes are not lost during linking.
authorBill Wendling <isanbard@gmail.com>
Fri, 24 Jan 2014 19:20:15 +0000 (19:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 24 Jan 2014 19:20:15 +0000 (19:20 +0000)
commitd221469cc6c120e0b6ef28741d01bf99c62b16df
treef14fa535061d2f1ac54ae3bae966558e28dd17de
parentd7053be532fbabaded65c4c2f578afeffd661d55
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
test/Linker/func-attrs-a.ll [new file with mode: 0644]
test/Linker/func-attrs-b.ll [new file with mode: 0644]