omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / tests / native / v2 / v1use / use.c
| 1 | /* Links omega_bsum (the v1 symbol) from the v1 header; against the v2 library this must fail to link. */ |
| 2 | #include "omega_native.h" |
| 3 | int main(void) |
| 4 | { |
| 5 | uint64_t r; |
| 6 | unsigned char d[4] = {0}; |
| 7 | return (int)omega_bsum(&r, d, 4); |
| 8 | } |