mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
66c93ac8ba
Moves the CFI ui tests to the cfi directory and removes the cfi prefix from tests file names similarly to how the cfi codegen tests are organized.
10 lines
295 B
Rust
10 lines
295 B
Rust
// Verifies that `-Zsanitizer-cfi-generalize-pointers` requires `-Zsanitizer=cfi` or
|
|
// `-Zsanitizer=kcfi`.
|
|
//
|
|
//@ needs-sanitizer-cfi
|
|
//@ compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer-cfi-generalize-pointers
|
|
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
#![no_main]
|