summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/native_aot/src/app/main.cpp
blob: 070ad7de632ed806e663bbc92cd0644a6874f193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

extern "C" {
    int cs_add(int a, int b);
    int cs_multiply(int a, int b);
}

int main() {
    printf("cs_add(3,4)=%d\n", cs_add(3, 4));
    printf("cs_multiply(5,6)=%d\n", cs_multiply(5, 6));
    return 0;
}