summaryrefslogtreecommitdiff
path: root/tests/headers/use-core.h
blob: 5ee0ac6f391a12187fd774a974fe20abd773f934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// bindgen-flags: --use-core --raw-line '#![cfg(not(target_os="windows"))] extern crate core;' --with-derive-hash --with-derive-partialeq --with-derive-eq

struct foo {
  int a, b;
  void* bar;
};

union {
  int bar;
  long baz;
} bazz;

typedef void (*fooFunction)(int bar);