summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T18291.hs
blob: e7ea4a08a852bb53c608ed3036eeb70320699977 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE MagicHash #-}
module T18291 where

import GHC.Magic

hi :: Int
hi = runRW# $ \_ -> 42