]> git.lizzy.rs Git - rust.git/blob - tests/codegen/cfguard-checks.rs
Rollup merge of #106477 - Nathan-Fenner:nathanf/refined-error-span-trait-impl, r...
[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