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