1
Fork 0

Always name the return place.

This commit is contained in:
Camille GILLOT 2023-05-15 21:15:28 +02:00
parent d4096e0412
commit d7983a2f23
25 changed files with 191 additions and 195 deletions

View file

@ -188,7 +188,7 @@ pub fn notunpin_box(x: Box<NotUnpin>) -> Box<NotUnpin> {
x
}
// CHECK: @struct_return({{%S\*|ptr}} noalias nocapture noundef sret(%S) dereferenceable(32){{( %0)?}})
// CHECK: @struct_return({{%S\*|ptr}} noalias nocapture noundef sret(%S) dereferenceable(32){{( %_0)?}})
#[no_mangle]
pub fn struct_return() -> S {
S {