[commit: ghc] ghc-8.0: Add testcase for #11414 (1f1a6aa)

git at git.haskell.org git at git.haskell.org
Mon Jan 18 12:24:28 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/1f1a6aa6c209de27091f0133233e97adb76dbcbf/ghc

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

commit 1f1a6aa6c209de27091f0133233e97adb76dbcbf
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
    
    (cherry picked from commit f3a867e8aa0f6364aa3a152ca660c3c581412484)


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

1f1a6aa6c209de27091f0133233e97adb76dbcbf
 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