summaryrefslogtreecommitdiffstats
path: root/tests/codegen/cfguard-non-msvc.rs
blob: 6278a951e35f1565151946520f4919088e9b20eb (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"