blob: d9e810362f2e92b5b35eb57eded5ad1fdf22ea51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//@ check-pass
//
// Regression test for issue #99286
// Tests that stabilized intrinsics are accessible
// through 'std::intrinsics', even though the module
// is unstable.
#![allow(unused_imports)]
#![allow(deprecated)]
use std::intrinsics::copy_nonoverlapping as _;
use std::intrinsics::copy as _;
use std::intrinsics::write_bytes as _;
use std::intrinsics::{copy_nonoverlapping, copy, write_bytes};
fn main() {}
|