summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_run/2594_c.h
blob: 5847b26662efabe5df746a747b9a3be6eafb325c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#include "HsFFI.h"

typedef void (* funtype8)(HsInt8);
typedef void (* funtype16)(HsInt16);
typedef void (* funtype32)(HsInt32);
typedef void (* funtype64)(HsInt64);

void call8(funtype8 fun);
void call16(funtype16 fun);
void call32(funtype32 fun);
void call64(funtype64 fun);

int cmain();