[commit: ghc] master: Add testcase for #11414 (f3a867e)

git at git.haskell.org git at git.haskell.org
Sun Jan 17 23:14:23 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f3a867e8aa0f6364aa3a152ca660c3c581412484/ghc

>---------------------------------------------------------------

commit f3a867e8aa0f6364aa3a152ca660c3c581412484
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sun Jan 17 23:26:43 2016 +0100

    Add testcase for #11414
    
    Reviewers: austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1790
    
    GHC Trac Issues: #11414


>---------------------------------------------------------------

f3a867e8aa0f6364aa3a152ca660c3c581412484
 testsuite/tests/deSugar/should_compile/T11414.hs | 4 ++++
 testsuite/tests/deSugar/should_compile/all.T     | 1 +
 2 files changed, 5 insertions(+)

diff --git a/testsuite/tests/deSugar/should_compile/T11414.hs b/testsuite/tests/deSugar/should_compile/T11414.hs
new file mode 100644
index 0000000..198c704
--- /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 aa4f2dd..c6068c0 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, [''])



More information about the ghc-commits mailing list