diff options
Diffstat (limited to 'testsuite/tests/lib/Data.ByteString/bytestring002.hs')
-rw-r--r-- | testsuite/tests/lib/Data.ByteString/bytestring002.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/lib/Data.ByteString/bytestring002.hs b/testsuite/tests/lib/Data.ByteString/bytestring002.hs new file mode 100644 index 0000000000..23d6cf270f --- /dev/null +++ b/testsuite/tests/lib/Data.ByteString/bytestring002.hs @@ -0,0 +1,6 @@ +-- +-- The unix wc -l program +-- +import qualified Data.ByteString as B + +main = print . B.count 10 =<< B.getContents |