]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard_checks.rs
Rollup merge of #73538 - tshepang:fix-example, r=nikomatsakis
[rust.git] / src / test / codegen / cfguard_checks.rs
1 // compile-flags: -Z control-flow-guard=checks
2
3 #![crate_type = "lib"]
4
5 // A basic test function.
6 pub fn test() {
7 }
8
9 // Ensure the module flag cfguard=2 is present
10 // CHECK: !"cfguard", i32 2