about summary refs log tree commit diff
path: root/tests/ui/abi/explicit_repr_rust.rs
blob: 6b131227d5bab4f2a88b7d8d8fe03c3d0c323e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ check-pass

#[repr(Rust)]
struct A;

#[repr(Rust, align(16))]
struct B;

#[repr(Rust, packed)]
struct C;

fn main() {}