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