rust/tests/ui/sanitizer/incompatible.rs

8 lines
261 B
Rust

//@ compile-flags: -Z sanitizer=address -Z sanitizer=memory --target x86_64-unknown-linux-gnu
//@ needs-llvm-components: x86
//@ error-pattern: error: `-Zsanitizer=address` is incompatible with `-Zsanitizer=memory`
#![feature(no_core)]
#![no_core]
#![no_main]