]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard-checks.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / 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