mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
6d75f54310
Moves the sanitizer ui tests to the sanitizer directory and removes the sanitizer prefix from tests file names similarly to how the sanitizer codegen tests are organized.
16 lines
221 B
Rust
16 lines
221 B
Rust
//@ check-pass
|
|
|
|
#![feature(no_sanitize)]
|
|
|
|
#[inline(always)]
|
|
//~^ NOTE inlining requested here
|
|
#[no_sanitize(address)]
|
|
//~^ WARN will have no effect after inlining
|
|
//~| NOTE on by default
|
|
fn x() {
|
|
}
|
|
|
|
fn main() {
|
|
x()
|
|
}
|