mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
12 lines
273 B
Rust
12 lines
273 B
Rust
// Verifies that "CFI Canonical Jump Tables" module flag is added.
|
|
//
|
|
// needs-sanitizer-cfi
|
|
// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
|
|
|
|
#![crate_type="lib"]
|
|
|
|
pub fn foo() {
|
|
}
|
|
|
|
// CHECK: !{{[0-9]+}} = !{i32 2, !"CFI Canonical Jump Tables", i32 1}
|