rust/tests/ui/abi/explicit_repr_rust.rs

13 lines
122 B
Rust
Raw Normal View History

2023-07-29 01:58:29 -05:00
// check-pass
#[repr(Rust)]
struct A;
#[repr(Rust, align(16))]
struct B;
#[repr(Rust, packed)]
struct C;
fn main() {}