rust/src/test/run-make/raw-dylib-c/extern_1.c

17 lines
369 B
C
Raw Normal View History

#include <stdio.h>
__declspec(dllexport) void extern_fn_1() {
printf("extern_fn_1\n");
fflush(stdout);
}
__declspec(dllexport) void extern_fn_2() {
printf("extern_fn_2; didn't get the rename\n");
fflush(stdout);
}
__declspec(dllexport) void extern_fn_with_long_name() {
printf("extern_fn_with_long_name; got the rename\n");
fflush(stdout);
}