aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/fileexist01.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fileexist01.hs')
-rw-r--r--tests/fileexist01.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fileexist01.hs b/tests/fileexist01.hs
new file mode 100644
index 0000000..7bddda9
--- /dev/null
+++ b/tests/fileexist01.hs
@@ -0,0 +1,5 @@
+-- test System.Posix.fileExist
+import System.Posix
+main = do
+ fileExist "fileexist01.hs" >>= print
+ fileExist "does not exist" >>= print