summaryrefslogtreecommitdiffstats
path: root/tests/rust/array.rs
blob: fb335372217c6abc2c6c701d6b2e9605dbdc6605 (plain)
1
2
3
4
5
6
7
#[repr(C)]
enum Foo {
    A([f32; 20])
}

#[no_mangle]
pub extern "C" fn root(a: Foo) {}