about summary refs log tree commit diff
path: root/tests/codegen/cfguard-nochecks.rs
blob: 0443880d72daa8e6015dbc7f899bd3b123d81711 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ compile-flags: -C control-flow-guard=nochecks
//@ only-msvc

#![crate_type = "lib"]

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

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