rust/tests/ui/sanitize/incompatible.rs
2024-02-16 20:02:50 +00:00

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]