]> git.lizzy.rs Git - rust.git/blob - tests/codegen/cfguard-non-msvc.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / codegen / cfguard-non-msvc.rs
1 // compile-flags: -C control-flow-guard
2 // ignore-msvc
3
4 #![crate_type = "lib"]
5
6 // A basic test function.
7 pub fn test() {
8 }
9
10 // Ensure the cfguard module flag is not added for non-MSVC targets.
11 // CHECK-NOT: !"cfguard"