summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/T18527FFI.c
blob: 77f13ecef570f260216f6632c5d15661ebd12b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdint.h>

int64_t func(int64_t a, uint32_t b, int64_t c, int64_t d) {
    printf("ffi call");
    if (a == 1) {
        printf(" with corrupted convention\n");
    }
    else {
        printf("\n");
    }
    return 0;
}