1
Fork 0

Fix the examples in cg_clif

This commit is contained in:
Scott McMurray 2024-08-23 01:59:26 -07:00
parent d2309c2a9d
commit 24c505070c
2 changed files with 8 additions and 8 deletions

View file

@ -166,7 +166,7 @@ fn main() {
enum Never {}
}
foo(I64X2(0, 0));
foo(I64X2([0, 0]));
transmute_fat_pointer();
@ -204,7 +204,7 @@ fn rust_call_abi() {
}
#[repr(simd)]
struct I64X2(i64, i64);
struct I64X2([i64; 2]);
#[allow(improper_ctypes_definitions)]
extern "C" fn foo(_a: I64X2) {}