Skip to content

Commit

Permalink
Regression test for issue 84297.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Jun 4, 2021
1 parent 34deda3 commit f08f933
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/intrinsics/issue-84297-reifying-copy.rs
@@ -0,0 +1,9 @@
// check-pass

fn main() {
let _unused = if true {
core::ptr::copy::<i32>
} else {
core::ptr::copy_nonoverlapping::<i32>
};
}

0 comments on commit f08f933

Please sign in to comment.