]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard-non-msvc.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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"