interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / tests / native / v2 / v1use / use.c

8 lines · 235 bytes Raw Blame History
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"
3int main(void)
4{
5 uint64_t r;
6 unsigned char d[4] = {0};
7 return (int)omega_bsum(&r, d, 4);
8}