diff options
Diffstat (limited to 'testsuite/tests/lib/IOExts/trace001.hs')
-rw-r--r-- | testsuite/tests/lib/IOExts/trace001.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/lib/IOExts/trace001.hs b/testsuite/tests/lib/IOExts/trace001.hs new file mode 100644 index 0000000000..2ed61d486e --- /dev/null +++ b/testsuite/tests/lib/IOExts/trace001.hs @@ -0,0 +1,10 @@ +import System.IO +import Debug.Trace + +main = do + hPutStr stderr + (trace (trace (trace (trace (trace (trace (trace + "one" "fish") "two") "fish") "red") "fish") "blue") "fish") + hPutStr stdout + (trace (trace (trace (trace (trace (trace (trace + "ONE" "FISH") "TWO") "FISH") "RED") "FISH") "BLUE") "FISH") |