ghc-exactprint-1.14.0.0: tests/examples/pre-ghc910/ado006.hs
{-# LANGUAGE ApplicativeDo #-}
module Test where
-- This exposed a bug in zonking ApplicativeLastStmt
test :: IO Int
test
= do
x <- return ()
h <- return (\_ -> 3)
return (h ())