summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-e/should_run/2228.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-e/should_run/2228.hs')
-rw-r--r--testsuite/tests/ghc-e/should_run/2228.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-e/should_run/2228.hs b/testsuite/tests/ghc-e/should_run/2228.hs
new file mode 100644
index 0000000000..0c53c5ae13
--- /dev/null
+++ b/testsuite/tests/ghc-e/should_run/2228.hs
@@ -0,0 +1,4 @@
+import System.IO
+main = do
+ hGetBuffering stdin >>= print
+ hGetBuffering stdout >>= print