1
Fork 0

Merge commit '3a9bf72932' into sync_cg_clif-2023-12-19

This commit is contained in:
bjorn3 2023-12-19 12:46:39 +00:00
commit d5c38ded26
13 changed files with 223 additions and 115 deletions

View file

@ -337,17 +337,6 @@ fn main() {
static REF2: &u8 = REF1;
assert_eq!(*REF1, *REF2);
extern "C" {
type A;
}
fn main() {
let x: &A = unsafe { &*(1usize as *const A) };
assert_eq!(unsafe { intrinsics::size_of_val(x) }, 0);
assert_eq!(unsafe { intrinsics::min_align_of_val(x) }, 1);
}
#[repr(simd)]
struct V([f64; 2]);