summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/lazy-bs-alloc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/perf/should_run/lazy-bs-alloc.hs')
-rw-r--r--testsuite/tests/perf/should_run/lazy-bs-alloc.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/perf/should_run/lazy-bs-alloc.hs b/testsuite/tests/perf/should_run/lazy-bs-alloc.hs
new file mode 100644
index 0000000000..76850c67d0
--- /dev/null
+++ b/testsuite/tests/perf/should_run/lazy-bs-alloc.hs
@@ -0,0 +1,9 @@
+module Main (main) where
+
+import System.Environment (getArgs)
+import qualified Data.ByteString.Lazy as L
+
+main :: IO ()
+main = do
+ (file : _) <- getArgs
+ L.readFile file >>= L.putStr