]> git.lizzy.rs Git - rust.git/blob - tests/codegen/cfguard-nochecks.rs
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
[rust.git] / tests / codegen / cfguard-nochecks.rs
1 // compile-flags: -C control-flow-guard=nochecks
2 // only-msvc
3
4 #![crate_type = "lib"]
5
6 // A basic test function.
7 pub fn test() {
8 }
9
10 // Ensure the module flag cfguard=1 is present
11 // CHECK: !"cfguard", i32 1