rust/tests/codegen/cfguard-disabled.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
201 B
Rust
Raw Normal View History

//@ compile-flags: -C control-flow-guard=no
//@ only-msvc
#![crate_type = "lib"]
// A basic test function.
pub fn test() {}
// Ensure the module flag cfguard is not present
// CHECK-NOT: !"cfguard"