]> git.lizzy.rs Git - rust.git/blob - tests/codegen/cfguard-checks.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / codegen / cfguard-checks.rs
1 // compile-flags: -C control-flow-guard=checks
2 // only-msvc
3
4 #![crate_type = "lib"]
5
6 // A basic test function.
7 pub fn test() {
8 }
9
10 // Ensure the module flag cfguard=2 is present
11 // CHECK: !"cfguard", i32 2