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