summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T16918.hs
blob: 87113b4d96e445c34fbac7520edd18a112c6051c (plain)
1
2
3
4
5
6
7
module Bug where

pokeArray :: () -> ()
pokeArray = pokeArray

pokeSockAddr :: String -> () -> ()
pokeSockAddr path p = (case path of ('\0':_) -> pokeArray) p