]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard_checks.rs
Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
[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