diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-03-05 14:52:58 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-03-05 14:52:58 +0000 |
commit | 6aca925ef28bf0a0a311bc8e33ec9a5aa2ded6ad (patch) | |
tree | 56d12852ae789bc48d0fb8b15837e20a6ca718b1 /tests/fileexist01.hs | |
parent | 7b8f8d32be1a6b14317a6373bc4a40b03285aa4d (diff) |
add tests from GHC testsuite
Diffstat (limited to 'tests/fileexist01.hs')
-rw-r--r-- | tests/fileexist01.hs | 5 |
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 |