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

#![crate_type = "lib"]

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

// Ensure the cfguard module flag is not added for non-MSVC targets.
// CHECK-NOT: !"cfguard"