brintos

brintos / llvm-project-archived public Read only

0
0
Text · 486 B · b290b74 Raw
12 lines · plain
1; RUN: opt -passes=verify %s2 3define swifttailcc void @valid_attrs(ptr sret(i64) %ret, ptr byval(i8) %byval, ptr swiftself %self, ptr swiftasync %ctx) {4  musttail call swifttailcc void @valid_attrs(ptr sret(i64) %ret, ptr byval(i8) %byval, ptr swiftself %self, ptr swiftasync %ctx)5  ret void6}7 8define swifttailcc void @mismatch_parms() {9  musttail call swifttailcc void @valid_attrs(ptr sret(i64) undef, ptr byval(i8) undef, ptr swiftself undef, ptr swiftasync  undef)10  ret void11}12