summary refs log tree commit diff
path: root/tests/codegen/cfguard-checks.rs
blob: 2b09a5fe12c2c3c95040cf382f40ba36f9a32a3a (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