summaryrefslogtreecommitdiffstats
path: root/tests/run-make/raw-dylib-link-ordinal/exporter.c
blob: aabf32ff19f0fda0176272649c65bd0278ff4b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

void exported_function() {
    printf("exported_function\n");
}

int exported_variable = 0;

void print_exported_variable() {
    printf("exported_variable value: %d\n", exported_variable);
    fflush(stdout);
}