summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/annotations/should_fail/annfail02.hs
blob: 50154e752c8d7b7ec1325918d08addaf13973552 (plain)
1
2
3
4
5
6
7
module Annfail02 where
-- Testing annotating things that don't exist in the right namespace

data Foo = Bar

{-# ANN Foo (1 :: Int) #-}
{-# ANN type Bar (2 :: Int) #-}