From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/mir/issue-76375.rs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/test/ui/mir/issue-76375.rs (limited to 'src/test/ui/mir/issue-76375.rs') diff --git a/src/test/ui/mir/issue-76375.rs b/src/test/ui/mir/issue-76375.rs deleted file mode 100644 index e635caca9..000000000 --- a/src/test/ui/mir/issue-76375.rs +++ /dev/null @@ -1,27 +0,0 @@ -// Regression test for issue #76375. -// -// edition:2018 -// build-pass -// compile-flags: -Z mir-opt-level=3 -// aux-build:issue_76375_aux.rs - -#![crate_type = "lib"] - -extern crate issue_76375_aux; - -pub async fn g() { - issue_76375_aux::copy_prop(true); - h().await; -} - -pub async fn u() { - let b = [0u8; 32]; - let mut i = 0; - while i != 10 { - issue_76375_aux::dest_prop(&b); - h().await; - i += 1; - } -} - -pub async fn h() {} -- cgit v1.2.3