about summary refs log tree commit diff
path: root/tests/codegen-llvm/debug-alignment.rs
blob: 02fe05832a3d7f92338622e776e1ee500f7ee001 (plain)
1
2
3
4
5
6
7
8
// 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;