Ticket #2554: c_test.c

File c_test.c, 129 bytes (added by judah, 6 years ago)

C code which should be linked against Test.hs.

Line 
1#include <stdio.h>
2
3void callFunc(void (*f)()) {
4    printf("Calling function.\n");
5    f();
6    printf("Called function.\n");
7}