rust/tests/codegen/cfguard-checks.rs
2023-01-11 09:32:08 +00:00

12 lines
205 B
Rust

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