mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +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.
9 lines
295 B
Rust
9 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]
|