]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/raw-dylib-c/extern_1.c
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / run-make / raw-dylib-c / extern_1.c
1 #include <stdio.h>
2
3 __declspec(dllexport) void extern_fn_1() {
4 printf("extern_fn_1\n");
5 fflush(stdout);
6 }
7
8 __declspec(dllexport) void extern_fn_2() {
9 printf("extern_fn_2; didn't get the rename\n");
10 fflush(stdout);
11 }
12
13 __declspec(dllexport) void extern_fn_with_long_name() {
14 printf("extern_fn_with_long_name; got the rename\n");
15 fflush(stdout);
16 }