mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
10 lines
372 B
Rust
10 lines
372 B
Rust
|
// Verifies that when compiling with `-Zsanitizer-cfi-normalize-integers` the
|
||
|
// `#[cfg(sanitizer_cfi_normalize_integers)]` attribute is configured.
|
||
|
//
|
||
|
// needs-sanitizer-cfi
|
||
|
// check-pass
|
||
|
// compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsanitizer-cfi-normalize-integers
|
||
|
|
||
|
#[cfg(sanitizer_cfi_normalize_integers)]
|
||
|
fn main() {}
|