rust/tests/ui/sanitizer/cfi/canonical-jump-tables-requi...

9 lines
274 B
Rust

// Verifies that `-Zsanitizer-cfi-canonical-jump-tables` requires `-Zsanitizer=cfi`.
//
//@ needs-sanitizer-cfi
//@ compile-flags: -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer-cfi-canonical-jump-tables=false
#![feature(no_core)]
#![no_core]
#![no_main]