diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-15 21:15:28 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-07-08 15:38:40 +0200 |
| commit | d7983a2f231a279984fc70eb428b936930eaa45c (patch) | |
| tree | 7e289bf73e50ac6d40b8d03575a34d6d32bb7dee /tests/codegen/function-arguments.rs | |
| parent | d4096e0412ac5de785d739a0aa2b1c1c7b9d3b7d (diff) | |
| download | rust-d7983a2f231a279984fc70eb428b936930eaa45c.tar.gz rust-d7983a2f231a279984fc70eb428b936930eaa45c.zip | |
Always name the return place.
Diffstat (limited to 'tests/codegen/function-arguments.rs')
| -rw-r--r-- | tests/codegen/function-arguments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/function-arguments.rs b/tests/codegen/function-arguments.rs index d6f019016a5..ccf4a5de327 100644 --- a/tests/codegen/function-arguments.rs +++ b/tests/codegen/function-arguments.rs @@ -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 { |
