summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T9177.hs
blob: 9fbb9407be34f46103799efef64a3273abf184b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module T9177 where

-- the main use case
type Foo = (int)

-- other interesting cases
type Foo2 = (integerr)

foo3 = bar
foo4 = Fun

-- this warning is suboptimal (fun would be illegal here)
foo5 Fun = ()

-- No errors here:
data Bar = Bar
fun x = x