]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/static-extern-type/define-foo.c
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
[rust.git] / src / test / run-make-fulldeps / static-extern-type / define-foo.c
1 #include <stdint.h>
2
3 struct Foo {
4     uint8_t x;
5 };
6
7 struct Foo FOO = { 42 };
8
9 uint8_t bar(const struct Foo* foo) {
10     return foo->x;
11 }