zig/test/standalone/link_interdependent_static_c_libs/a.h
Jakub Konka 65e4725aba Add standalone test for interdep C archives
Tests a scenario where the linker line has the following:

```
main.o libA.a libB.a
```

where `main.o` pulls a symbol from `libB.a`, which in turn is
dependent on a symbol from `libA.a`.
2021-04-13 13:32:59 +02:00

3 lines
55 B
C

#include <stdint.h>
int32_t add(int32_t a, int32_t b);