TH_scope.hs 120 Bytes
Newer Older
Simon Peyton Jones's avatar
Simon Peyton Jones committed
1
-- Test for Trac #2188
Ian Lynagh's avatar
Ian Lynagh committed
2 3 4

module TH_scope where

Simon Peyton Jones's avatar
Simon Peyton Jones committed
5 6 7 8
f g = [d| f :: Int
          f = g
          g :: Int
          g = 4 |]