Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
11
tests/codegen/cfguard-checks.rs
Normal file
11
tests/codegen/cfguard-checks.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
// 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
|
Loading…
Add table
Add a link
Reference in a new issue