summaryrefslogtreecommitdiffstats
path: root/tests/ui/sanitize/sanitizer-cfi-is-incompatible-with-saniziter-kcfi.rs
blob: 9a5b0f3899041c425fe688aee12925b6059a8df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Verifies that `-Zsanitizer=cfi` is incompatible with `-Zsanitizer=kcfi`.
//
// revisions: aarch64 x86_64
// [aarch64] compile-flags: --target aarch64-unknown-none
// [aarch64] needs-llvm-components: aarch64
// [x86_64] compile-flags: --target x86_64-unknown-none
// [x86_64] needs-llvm-components: x86
// compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsanitizer=kcfi

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