summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_run/T11193.hs
blob: a8759a3acabd5cd163b6c903d27f58285f699289 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Strict #-}

module Main where

main = do
  ~a <- return (error "don't error here!")
  b <- return (error "error here!") -- this binding should be strict
  print "should never reach here"