illegal_write2 does not work with optimizations
This commit is contained in:
parent
e9f79f5f6f
commit
5f42aa61d5
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue