summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T15270B.hs
blob: 397b5dc131a965302657383ad51a1ad47ddf9873 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TemplateHaskell #-}

module T10047B where

import Language.Haskell.TH

-- Passing datacon name to varE should fail.
x = $(varE 'Just)