summaryrefslogtreecommitdiff
path: root/tests/headers/use-core_1_0.h
blob: fa3a96485b3b9f710229a5a52be5c2a4efe5830d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// bindgen-flags: --rust-target 1.0 --use-core --raw-line "extern crate core;" --with-derive-hash

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

union {
  int bar;
  long baz;
} bazz;

typedef void (*fooFunction)(int bar);