summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T3391.hs
blob: f773af32acf3cf35cf13d1970bae8fd1d0d62d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE TemplateHaskell, Generics #-}
{-# OPTIONS_GHC -v0 #-}

-- We should only generate one set of generic to/from functions
-- for T, despite the multiple chunks caused by the TH splices
-- See #3391

module T3391 where

data T = MkT

$(return [])

$(return [])