summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/rename/should_fail/rnfail043.hs
blob: 492cebb516c25de733ca7fba06d56b668ab8aebf (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TemplateHaskell #-}

-- Duplicate bindings introduced one at a time with TH
module ShouldFail where

f x = x

$([d| h x = x |])

f x = x