summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T5557.script
blob: 5ff79a799309ebe333acb6ee7cebcff5d01d9859 (plain)
1
2
3
4
-- Both should raise an exception
([seq (seq undefined (\a -> error "a"))] !! 0) [1]
([seq (seq undefined (\a -> undefined))] !! 0) [1]