mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
illegal_write2 does not work with optimizations
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// We fail to detect this when neither this nor libstd are optimized/have retagging.
|
||||
// FIXME: Investigate that.
|
||||
// compile-flags: -Zmir-opt-level=0
|
||||
|
||||
#![allow(unused_variables)]
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user