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