summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail10.hs
blob: d03b6a73fb4a6763deaf70879dd0ad584168b8be (plain)
1
2
3
4
5
6
7
8
9
10
module Annfail10 where
-- Testing ambiguity in annotations

{-# ANN module 1 #-}

{-# ANN type Foo 1 #-}
data Foo = Bar

{-# ANN f 1 #-}
f x = x