mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
12 lines
207 B
Rust
12 lines
207 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
|