about summary refs log tree commit diff
path: root/tests/codegen-llvm/cfguard-nochecks.rs
blob: 5f386533ec1aae4894de480d14073f23b0653416 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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