summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod157.hs
blob: 582e1a708b36204bd3ad92ce51c7fe01250e2a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- !!! cumulative re-exportation of data constructors
module M where

import Mod157_D

-- Mod157_D re-exports the type T using (..). T is defined
-- in Mod157_A, but (only) two of its constructors are visible
-- in Mod157_D, one via Mod157_B, the other via Mod157_C.
a = A
b = B