summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T6006_c.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-04-27 13:30:43 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-04-27 13:30:43 +0100
commit73b97bdfe84b8688e782827d89ecbd214455bb5f (patch)
treedcc7875116b8acf53d579aa55b72f8259948cedc /testsuite/tests/rts/T6006_c.c
parent32b2573a5e463c46bff857f50f9dec03f581489d (diff)
downloadhaskell-73b97bdfe84b8688e782827d89ecbd214455bb5f.tar.gz
Add test for #6006
Diffstat (limited to 'testsuite/tests/rts/T6006_c.c')
-rw-r--r--testsuite/tests/rts/T6006_c.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T6006_c.c b/testsuite/tests/rts/T6006_c.c
new file mode 100644
index 0000000000..ea480f8545
--- /dev/null
+++ b/testsuite/tests/rts/T6006_c.c
@@ -0,0 +1,9 @@
+#include "HsFFI.h"
+#include "T6006_stub.h"
+#include <stdlib.h>
+int main(int argc, char** argv) {
+ hs_init(NULL,NULL);
+ f();
+ hs_exit();
+ exit(0);
+}