summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run/PrimFFIWord8_c.c
blob: 535ed4185cba9ec5c4a93c6961df00ea9306bc3f (plain)
1
2
3
4
5
6
7
#include <stdint.h>

uint8_t add_all_word8(
        uint8_t a, uint8_t b, uint8_t c, uint8_t d, uint8_t e,
        uint8_t f, uint8_t g, uint8_t h, uint8_t i, uint8_t j) {
    return a + b + c + d + e + f + g + h + i + j;
}