summaryrefslogtreecommitdiffstats
path: root/tests/rust/char.rs
blob: 258e50f26ef846597c25be58b172c04d0b89897d (plain)
1
2
3
4
5
6
7
#[repr(C)]
struct Foo {
    a: char,
}

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