summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T15180.hs
blob: a81f130093b0abea95245bb6a111925617c0cd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE MagicHash #-}
module Main where

import Control.Exception
import System.Exit
import GHC.Exts

main :: IO ()
main = do
  let a = throw $ toException ExitSuccess :: Int#
  return ()