diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-22 21:32:51 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-23 12:28:02 +0100 |
commit | 6d0aa9ffc094ec69f1fbd7f9e15bcf7535e3370b (patch) | |
tree | d1324c81b77f1bac94a7a5704256fe16a1e00722 /testsuite/tests/ffi | |
parent | 28620ba6a7968ef3ab589f62ac761fffe4f42caa (diff) | |
download | haskell-6d0aa9ffc094ec69f1fbd7f9e15bcf7535e3370b.tar.gz |
Testsuite: delete Windows line endings [skip ci] (#11631)
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_c.c | 12 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T1288_ghci_c.c | 12 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_c.c | 12 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/T2276_ghci_c.c | 12 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/ffi012.stdout | 8 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/ffi014_cbits.c | 12 | ||||
-rw-r--r-- | testsuite/tests/ffi/should_run/ffi014_cbits.h | 6 |
7 files changed, 37 insertions, 37 deletions
diff --git a/testsuite/tests/ffi/should_run/T1288_c.c b/testsuite/tests/ffi/should_run/T1288_c.c index f240d29529..4ea5b13949 100644 --- a/testsuite/tests/ffi/should_run/T1288_c.c +++ b/testsuite/tests/ffi/should_run/T1288_c.c @@ -1,6 +1,6 @@ -#include <stdio.h>
-
-void __attribute__((stdcall)) test(int arg)
-{
- printf("The argument passed was %i\n", arg );
-}
+#include <stdio.h> + +void __attribute__((stdcall)) test(int arg) +{ + printf("The argument passed was %i\n", arg ); +} diff --git a/testsuite/tests/ffi/should_run/T1288_ghci_c.c b/testsuite/tests/ffi/should_run/T1288_ghci_c.c index f240d29529..4ea5b13949 100644 --- a/testsuite/tests/ffi/should_run/T1288_ghci_c.c +++ b/testsuite/tests/ffi/should_run/T1288_ghci_c.c @@ -1,6 +1,6 @@ -#include <stdio.h>
-
-void __attribute__((stdcall)) test(int arg)
-{
- printf("The argument passed was %i\n", arg );
-}
+#include <stdio.h> + +void __attribute__((stdcall)) test(int arg) +{ + printf("The argument passed was %i\n", arg ); +} diff --git a/testsuite/tests/ffi/should_run/T2276_c.c b/testsuite/tests/ffi/should_run/T2276_c.c index f240d29529..4ea5b13949 100644 --- a/testsuite/tests/ffi/should_run/T2276_c.c +++ b/testsuite/tests/ffi/should_run/T2276_c.c @@ -1,6 +1,6 @@ -#include <stdio.h>
-
-void __attribute__((stdcall)) test(int arg)
-{
- printf("The argument passed was %i\n", arg );
-}
+#include <stdio.h> + +void __attribute__((stdcall)) test(int arg) +{ + printf("The argument passed was %i\n", arg ); +} diff --git a/testsuite/tests/ffi/should_run/T2276_ghci_c.c b/testsuite/tests/ffi/should_run/T2276_ghci_c.c index f240d29529..4ea5b13949 100644 --- a/testsuite/tests/ffi/should_run/T2276_ghci_c.c +++ b/testsuite/tests/ffi/should_run/T2276_ghci_c.c @@ -1,6 +1,6 @@ -#include <stdio.h>
-
-void __attribute__((stdcall)) test(int arg)
-{
- printf("The argument passed was %i\n", arg );
-}
+#include <stdio.h> + +void __attribute__((stdcall)) test(int arg) +{ + printf("The argument passed was %i\n", arg ); +} diff --git a/testsuite/tests/ffi/should_run/ffi012.stdout b/testsuite/tests/ffi/should_run/ffi012.stdout index b384fe2adf..1b8c42d40c 100644 --- a/testsuite/tests/ffi/should_run/ffi012.stdout +++ b/testsuite/tests/ffi/should_run/ffi012.stdout @@ -1,4 +1,4 @@ -84
-84
-84.0
-84.0
+84 +84 +84.0 +84.0 diff --git a/testsuite/tests/ffi/should_run/ffi014_cbits.c b/testsuite/tests/ffi/should_run/ffi014_cbits.c index 0cf96d5dc6..0e2fc7d509 100644 --- a/testsuite/tests/ffi/should_run/ffi014_cbits.c +++ b/testsuite/tests/ffi/should_run/ffi014_cbits.c @@ -1,6 +1,6 @@ -#include "ffi014_cbits.h"
-
-void callC( FUNC* f) {
- int i;
- for(i=0;i<1000;i++) f();
-}
+#include "ffi014_cbits.h" + +void callC( FUNC* f) { + int i; + for(i=0;i<1000;i++) f(); +} diff --git a/testsuite/tests/ffi/should_run/ffi014_cbits.h b/testsuite/tests/ffi/should_run/ffi014_cbits.h index d0d8517ca5..f81a6fff2d 100644 --- a/testsuite/tests/ffi/should_run/ffi014_cbits.h +++ b/testsuite/tests/ffi/should_run/ffi014_cbits.h @@ -1,3 +1,3 @@ -typedef void FUNC();
-
-void callC( FUNC* f);
+typedef void FUNC(); + +void callC( FUNC* f); |