Merge commit '93a5433f17
' into sync_cg_clif-2023-10-24
This commit is contained in:
commit
484bc7fc88
14 changed files with 260 additions and 138 deletions
|
@ -353,6 +353,17 @@ fn main() {
|
|||
|
||||
let f = V([0.0, 1.0]);
|
||||
let _a = f.0[0];
|
||||
|
||||
stack_val_align();
|
||||
}
|
||||
|
||||
#[inline(never)]
|
||||
fn stack_val_align() {
|
||||
#[repr(align(8192))]
|
||||
struct Foo(u8);
|
||||
|
||||
let a = Foo(0);
|
||||
assert_eq!(&a as *const Foo as usize % 8192, 0);
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue