summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T3263.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T3263.hs')
-rw-r--r--testsuite/tests/ghci/scripts/T3263.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T3263.hs b/testsuite/tests/ghci/scripts/T3263.hs
new file mode 100644
index 0000000000..237cf42c6d
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T3263.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS_GHC -Wall #-}
+
+-- Test Trac #3263
+
+module T3263 where
+
+foo :: IO ()
+foo = do { getChar
+ ; return () }