mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
9 lines
185 B
Rust
9 lines
185 B
Rust
//@ known-bug: #138008
|
|
//@compile-flags: --crate-type=lib -Copt-level=0
|
|
#![feature(repr_simd)]
|
|
const C: usize = 16;
|
|
|
|
#[repr(simd)]
|
|
pub struct Foo([u8; C]);
|
|
pub unsafe fn foo(a: Foo) {}
|