summaryrefslogtreecommitdiffstats
path: root/tests/codegen/debug-alignment.rs
blob: f6c1062e0fc6cee420a54df67690129bf5efb884 (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;