summaryrefslogtreecommitdiffstats
path: root/tests/rust/include_item.rs
blob: 9f0755048b06388a9171da62024074cfdc6e7760 (plain)
1
2
3
4
5
6
7
8
9
10
#[repr(C)]
struct A {
    x: i32,
    y: f32,
}

#[repr(C)]
struct B {
    data: A,
}