]> git.lizzy.rs Git - rust.git/blob - tests/codegen/debug-alignment.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / codegen / debug-alignment.rs
1 // Verifies that DWARF alignment is specified properly.
2 //
3 // compile-flags: -C debuginfo=2
4 #![crate_type = "lib"]
5
6 // CHECK: !DIGlobalVariable
7 // CHECK: align: 32
8 pub static A: u32 = 1;