rust/tests/run-make/cdylib-dylib-linkage/foo.c
2023-03-30 07:34:55 -05:00

11 lines
148 B
C

#include <assert.h>
extern void foo();
extern unsigned bar(unsigned a, unsigned b);
int main() {
foo();
assert(bar(1, 2) == 3);
return 0;
}