summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read017.hs
blob: 4349cb27cadc7a68bb9794da8dc7943f64072f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- !!! Checking that empty declarations are permitted.
module ShouldCompile where


class Foo a where

class Foz a

x = 2 where 
y = 3

instance Foo Int where

f = f where g = g where
type T = Int