diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-01-21 11:57:34 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-01-21 11:57:40 -0500 |
commit | 765ba657c08453615521f5cb0b2418512e606743 (patch) | |
tree | 7f563156dfd31fee11bf68f84ed5bae772df802b /testsuite/tests/rebindable | |
parent | f855769690eb998ea25818ee794714957852af48 (diff) | |
download | haskell-765ba657c08453615521f5cb0b2418512e606743.tar.gz |
testsuite: Add testcase for #14670
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #14670
Differential Revision: https://phabricator.haskell.org/D4314
Diffstat (limited to 'testsuite/tests/rebindable')
-rw-r--r-- | testsuite/tests/rebindable/T14670.hs | 11 | ||||
-rw-r--r-- | testsuite/tests/rebindable/all.T | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/rebindable/T14670.hs b/testsuite/tests/rebindable/T14670.hs new file mode 100644 index 0000000000..8a99c576ed --- /dev/null +++ b/testsuite/tests/rebindable/T14670.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE RebindableSyntax #-} + +module Lib where + +import Prelude (IO) + +pure = undefined + +foo :: IO () +foo = do + pure () diff --git a/testsuite/tests/rebindable/all.T b/testsuite/tests/rebindable/all.T index 83bfa2f278..f796a38750 100644 --- a/testsuite/tests/rebindable/all.T +++ b/testsuite/tests/rebindable/all.T @@ -34,3 +34,4 @@ test('T10112', normal, compile, ['']) test('T11216', normal, compile, ['']) test('T11216A', normal, compile, ['']) test('T12080', normal, compile, ['']) +test('T14670', expect_broken(14670), compile, ['']) |