summaryrefslogtreecommitdiffstats
path: root/tests/ui/sanitize/sanitizer-cfi-normalize-integers-require-cfi.rs
blob: b25a60d3494b84c99f671be9e51fcd4a6e7c8dd6 (plain)
1
2
3
4
5
6
7
8
9
// Verifies that `-Zsanitizer-cfi-normalize-integers` requires `-Zsanitizer=cfi` or
// `-Zsanitizer=kcfi`
//
// needs-sanitizer-cfi
// compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer-cfi-normalize-integers

#![feature(no_core)]
#![no_core]
#![no_main]