Merge commit '3a9bf72932
' into sync_cg_clif-2023-12-19
This commit is contained in:
commit
d5c38ded26
13 changed files with 223 additions and 115 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue