summary refs log tree commit diff
path: root/src/test/codegen/cfguard-nochecks.rs
blob: d7dc3d7e89eea007fdeb644d237efab8dd6c181d (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags: -Z 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