Skip to content

Commit f08f933

Browse files
committed
Regression test for issue 84297.
1 parent 34deda3 commit f08f933

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
3+
fn main() {
4+
let _unused = if true {
5+
core::ptr::copy::<i32>
6+
} else {
7+
core::ptr::copy_nonoverlapping::<i32>
8+
};
9+
}

0 commit comments

Comments
 (0)