diff options
Diffstat (limited to 'testsuite/tests/rename/prog006/pwd.hs')
-rw-r--r-- | testsuite/tests/rename/prog006/pwd.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/rename/prog006/pwd.hs b/testsuite/tests/rename/prog006/pwd.hs new file mode 100644 index 0000000000..177e836fe1 --- /dev/null +++ b/testsuite/tests/rename/prog006/pwd.hs @@ -0,0 +1,12 @@ + +module Main where + +import System.Directory +import System.Environment + +main :: IO () +main = do d <- getCurrentDirectory + putStr $ concatMap f d + where f '\\' = "/" + f c = [c] + |