summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T19377.hs
blob: e27149ccfe218630cd238af189596912608b247c (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TemplateHaskell #-}
module T19377 where

$([d| x :: Int
      x = 42
      {-# ANN x "blah" #-}

      data Y
      {-# ANN type Y "yargh" #-}
    |])