]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/static-extern-type/define-foo.c
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[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 }