about summary refs log tree commit diff
path: root/tests/codegen/ehcontguard_enabled.rs
blob: fde66f1c148e342662d167122e4af75267559819 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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