summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-09-08 23:11:19 +0100
committerTamar Christina <tamar@zhox.com>2019-10-20 16:21:10 +0100
commit4b431f334018eaef2cf36de3316025c68c922915 (patch)
tree7f85d5a1a6bc6d39e9a8c51fe33904ff61461a7e /testsuite/tests/ffi
parentc4c9904b324736dc5d190a91418e8d8f564d4104 (diff)
downloadhaskell-4b431f334018eaef2cf36de3316025c68c922915.tar.gz
Windows: Update tarballs to GCC 9.2 and remove MAX_PATH limit.
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r--testsuite/tests/ffi/should_run/T5594_c.c4
-rw-r--r--testsuite/tests/ffi/should_run/ffi002_c.c4
-rw-r--r--testsuite/tests/ffi/should_run/fptr01_c.c5
-rw-r--r--testsuite/tests/ffi/should_run/fptrfail01_c.c5
4 files changed, 8 insertions, 10 deletions
diff --git a/testsuite/tests/ffi/should_run/T5594_c.c b/testsuite/tests/ffi/should_run/T5594_c.c
index 9ef22e8efd..bcdb2262f3 100644
--- a/testsuite/tests/ffi/should_run/T5594_c.c
+++ b/testsuite/tests/ffi/should_run/T5594_c.c
@@ -1,8 +1,8 @@
-#include <stdio.h>
#include "T5594_stub.h"
-
#include "HsFFI.h"
+#include <stdio.h>
+
int main(int argc, char *argv[])
{
hs_init(&argc, &argv);
diff --git a/testsuite/tests/ffi/should_run/ffi002_c.c b/testsuite/tests/ffi/should_run/ffi002_c.c
index ccf9ac99cf..5783fba051 100644
--- a/testsuite/tests/ffi/should_run/ffi002_c.c
+++ b/testsuite/tests/ffi/should_run/ffi002_c.c
@@ -1,8 +1,8 @@
-#include <stdio.h>
#include "ffi002_stub.h"
-
#include "HsFFI.h"
+#include <stdio.h>
+
int main(int argc, char *argv[])
{
int i;
diff --git a/testsuite/tests/ffi/should_run/fptr01_c.c b/testsuite/tests/ffi/should_run/fptr01_c.c
index 0a0e1efe1c..07197c4172 100644
--- a/testsuite/tests/ffi/should_run/fptr01_c.c
+++ b/testsuite/tests/ffi/should_run/fptr01_c.c
@@ -1,9 +1,8 @@
-#include <stdio.h>
-
#include "HsFFI.h"
-
#include "fptr01.h"
+#include <stdio.h>
+
void f( HsInt *i )
{
printf( "f%d\n", (int)*i );
diff --git a/testsuite/tests/ffi/should_run/fptrfail01_c.c b/testsuite/tests/ffi/should_run/fptrfail01_c.c
index 070a786e57..c620e7535c 100644
--- a/testsuite/tests/ffi/should_run/fptrfail01_c.c
+++ b/testsuite/tests/ffi/should_run/fptrfail01_c.c
@@ -1,9 +1,8 @@
-#include <stdio.h>
-
#include "HsFFI.h"
-
#include "fptrfail01.h"
+#include <stdio.h>
+
void f( HsInt *i )
{
printf( "f%d\n", (int)*i );