summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/deSugar/should_compile/T11414.hs4
-rw-r--r--testsuite/tests/deSugar/should_compile/all.T1
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T11414.hs b/testsuite/tests/deSugar/should_compile/T11414.hs
new file mode 100644
index 0000000000..198c704ac0
--- /dev/null
+++ b/testsuite/tests/deSugar/should_compile/T11414.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE Strict #-}
+
+main :: IO ()
+main = print $ let x = undefined in True
diff --git a/testsuite/tests/deSugar/should_compile/all.T b/testsuite/tests/deSugar/should_compile/all.T
index aa4f2dd65d..c6068c02d6 100644
--- a/testsuite/tests/deSugar/should_compile/all.T
+++ b/testsuite/tests/deSugar/should_compile/all.T
@@ -104,3 +104,4 @@ test('T10251', normal, compile, [''])
test('T10767', normal, compile, [''])
test('DsStrictWarn', normal, compile, [''])
test('T10662', normal, compile, ['-Wall'])
+test('T11414', expect_broken(11414), compile, [''])