summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_run/Annrun01_Help.hs
blob: c27f85fef6d466b19a706ccbfda6f8d058174496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{-# LANGUAGE TemplateHaskell #-}

module Annrun01_Help where

{-# ANN module "Module" #-}
{-# ANN module "Annotations" #-}
{-# ANN module (10 :: Int) #-}
{-# ANN module "Rock!!!!" #-}


{-# ANN foo "Hello" #-}
{-# ANN foo "World!" #-}
{-# ANN bar 'foo #-}
foo = "Never seen"

{-# ANN bar "Hello World Again!" #-}
{-# ANN bar (1 :: Int) #-}
{-# ANN bar 'bar #-}
bar = "Also never seen"

baz = "Especially never seen"


{-# ANN type Baz "Type Annotation" #-}
{-# ANN type Baz (Just True) #-}
{-# ANN type Baz ''Baz #-}
data Baz = Spqr