summaryrefslogtreecommitdiffstats
path: root/src/test/codegen/cfguard-nochecks.rs
blob: 3847c3e81ed7a6d78f2e3e6b50741fb549c68431 (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