]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard-non-msvc.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / 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"