1 2 3 4 5 6 7 8
{-# LANGUAGE MagicHash #-} module Main where import GHC.Ptr import GHC.Exts import Foreign.Ptr main = print (Ptr nullAddr# == nullPtr)