summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/should_run/T19053.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/stranal/should_run/T19053.hs')
-rw-r--r--testsuite/tests/stranal/should_run/T19053.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/stranal/should_run/T19053.hs b/testsuite/tests/stranal/should_run/T19053.hs
new file mode 100644
index 0000000000..883a4ec86c
--- /dev/null
+++ b/testsuite/tests/stranal/should_run/T19053.hs
@@ -0,0 +1,8 @@
+import Data.List (group)
+import System.Exit (exitFailure, exitSuccess)
+
+main :: IO ()
+main = do
+ _ <- getContents
+ if last (group "a") == "a" then exitSuccess else exitFailure
+