blob: ea9d801f4ed01e9d86e5351cafbb73744e4497a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// bindgen-flags: --with-derive-partialeq --impl-partialeq --impl-debug --rust-target 1.40
/// Because this struct have array larger than 32 items
/// and --with-derive-partialeq --impl-partialeq --impl-debug is provided,
/// this struct should manually implement `Debug` and `PartialEq`.
struct Foo {
int large[33];
char type_ : 3;
unsigned : 8;
char type();
void set_type_(char c);
void set_type(char c);
};
|