summaryrefslogtreecommitdiffstats
path: root/tests/ui/sanitize/sanitizer-cfi-generalize-pointers-require-cfi.rs
blob: f31b8bde7aebf3377902df8db55cbc3ffa08c41f (plain)
1
2
3
4
5
6
7
8
9
// 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]