rust/tests/codegen/ehcontguard_enabled.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
187 B
Rust
Raw Normal View History

//@ compile-flags: -Z ehcont-guard
#![crate_type = "lib"]
// A basic test function.
pub fn test() {}
// Ensure the module flag ehcontguard=1 is present
// CHECK: !"ehcontguard", i32 1