Files
rust/tests/ui/sanitizer/inline-always-sanitize.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
247 B
Rust
Raw Normal View History

//@ check-pass
#![feature(sanitize)]
#[inline(always)]
//~^ NOTE inlining requested here
#[sanitize(address = "off")]
//~^ WARN setting `sanitize` off will have no effect after inlining
//~| NOTE on by default
fn x() {
}
fn main() {
x()
}