summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T18497_Bar.hs
blob: 30675fd1b188ca55f92259242eab7022cd3a76ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module T18497_Bar where

import T18497_Foo

data Y = SomeY X | NoY

blah :: Y
blah = NoY

blip :: Y
blip = SomeY foo

woop NoX         = NoY
woop (SomeX y _) = y