summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/T984.hs
blob: ba2e282d5a3fb2eac5360c7a5769f27834e6f4c0 (plain)
1
2
3
4
5
6
7
8
9

module T984 where

f _ = do
        x <- computation
        case () of
                _ ->
                        result <- computation
                        case () of () -> undefined