summaryrefslogtreecommitdiff
path: root/libraries/base/tests/fromJust.hs
blob: 2da524ffedb1ec71da939f2c0f8693e535d342ab (plain)
1
2
3
4
5
6
7
8
9
10
module Main where

-- Trac #15559: Add HasCallStack to fromJust

import Data.Maybe ( fromJust )

main :: IO ()
main = do
  _ <- fromJust Nothing `seq` return ()
  putStrLn "Should see a stacktrace instead of this"