]>
Commit | Line | Data |
---|---|---|
fc512014 XL |
1 | // Regression test for issue #76375. |
2 | // | |
29967ef6 XL |
3 | // edition:2018 |
4 | // build-pass | |
6a06907d | 5 | // compile-flags: -Z mir-opt-level=3 |
29967ef6 XL |
6 | // aux-build:issue_76375_aux.rs |
7 | ||
8 | #![crate_type = "lib"] | |
9 | ||
10 | extern crate issue_76375_aux; | |
11 | ||
12 | pub async fn g() { | |
fc512014 | 13 | issue_76375_aux::copy_prop(true); |
29967ef6 XL |
14 | h().await; |
15 | } | |
16 | ||
fc512014 XL |
17 | pub async fn u() { |
18 | let b = [0u8; 32]; | |
19 | let mut i = 0; | |
20 | while i != 10 { | |
21 | issue_76375_aux::dest_prop(&b); | |
22 | h().await; | |
23 | i += 1; | |
24 | } | |
25 | } | |
26 | ||
29967ef6 | 27 | pub async fn h() {} |