]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/static-extern-type/define-foo.c
Rollup merge of #101116 - GuillaumeGomez:rm-attrs-ty-alias, r=notriddle
[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 }