diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail070.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail070.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail070.hs b/testsuite/tests/typecheck/should_fail/tcfail070.hs new file mode 100644 index 0000000000..6cd2a28404 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail070.hs @@ -0,0 +1,16 @@ +{- +From: Wolfgang Drotschmann <drotschm@athene.informatik.uni-bonn.de> +Resent-Date: Thu, 15 May 1997 17:23:09 +0100 + +I'm still using the old ghc-2.01. In one program I ran into a problem +I couldn't fix. But I played around with it, I found a small little +script which reproduces it very well: + +panic! (the `impossible' happened): + tlist +-} + +module TcFail where + +type State = ([Int] Bool) + |