]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/static-extern-type/define-foo.c
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[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 }