11 lines
192 B
Rust
11 lines
192 B
Rust
|
// compile-flags: -Z control_flow_guard=checks
|
||
|
|
||
|
#![crate_type = "lib"]
|
||
|
|
||
|
// A basic test function.
|
||
|
pub fn test() {
|
||
|
}
|
||
|
|
||
|
// Ensure the module flag cfguard=2 is present
|
||
|
// CHECK: !"cfguard", i32 2
|