summaryrefslogtreecommitdiffstats
path: root/src/test/codegen/cfguard-checks.rs
blob: 571a2654bcbfd2f6d7f6543479d009f6abe3cad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags: -C control-flow-guard=checks
// only-msvc

#![crate_type = "lib"]

// A basic test function.
pub fn test() {
}

// Ensure the module flag cfguard=2 is present
// CHECK: !"cfguard", i32 2