summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5404.hs
blob: 886833957b1fdd6661638460a06688a663615e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE TemplateHaskell #-}

module T5404 where

foobar :: Int
foobar = $([|
      let
        bar :: Int
        bar = 5
      in bar
   |])