]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/cfguard-checks.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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