blob: 055173e9842dd994dd69c4f49aad9f3bc489cdf5 (
plain)
1
2
3
4
5
6
7
8
|
// compile-flags: --crate-type=lib -Zmir-enable-passes=+InstCombine
// build-pass
#![feature(core_intrinsics)]
pub fn generic<T>() {
core::intrinsics::assert_mem_uninitialized_valid::<&T>();
}
|