summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8759.hs
blob: 298761a5a4ce1b2bed845aaa76003f5be818aba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TemplateHaskell, PatternSynonyms #-}

module T8759 where

import Language.Haskell.TH

pattern P = ()

$( do info <- reify 'P
      reportWarning (show info)
      return [] )