summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent/prog002/FileIO.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/concurrent/prog002/FileIO.hs')
-rw-r--r--testsuite/tests/concurrent/prog002/FileIO.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/concurrent/prog002/FileIO.hs b/testsuite/tests/concurrent/prog002/FileIO.hs
new file mode 100644
index 0000000000..bf97712287
--- /dev/null
+++ b/testsuite/tests/concurrent/prog002/FileIO.hs
@@ -0,0 +1,9 @@
+module FileIO where
+import System.IO
+import Foreign
+import Foreign.C
+
+
+foreign import ccall safe "fileio.h c_file_getresult"
+ c_file_getresult :: CInt -> IO CInt
+