summaryrefslogtreecommitdiffstats
path: root/tests/ui/sanitize/sanitizer-cfi-canonical-jump-tables-require-cfi.rs
blob: 462a3f661efb5f36a2fb2f2c78f99d53e641e373 (plain)
1
2
3
4
5
6
7
8
// 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]