rust/tests/codegen/debug-alignment.rs
2023-01-11 09:32:08 +00:00

9 lines
187 B
Rust

// Verifies that DWARF alignment is specified properly.
//
// compile-flags: -C debuginfo=2
#![crate_type = "lib"]
// CHECK: !DIGlobalVariable
// CHECK: align: 32
pub static A: u32 = 1;