summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T3395.hs
blob: ff3ee4384a9074acb10b884804f33b6546c0d6bc (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TemplateHaskell #-}
module T3395 where

import Language.Haskell.TH

foo = $(return $
     CompE
         [NoBindS (VarE $ mkName "undefined")
         ,BindS (VarP $ mkName "r1") (VarE $ mkName "undefined") ])