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

-- Template Haskell type splices
-- Should fail, with a decent error message

module T3177a where

f :: $(id [t| Int Int |])
f = 3

g :: Int Int
g = 3