Fold template-haskell.git into ghc.git (re #8545)
[ghc.git] / testsuite / tests / module / mod158.hs
1 -- !!! cumulative re-exportation of data constructors, pt 2.
2 module M where
3
4 import Mod157_D
5
6 -- Mod157_D re-exports the type T using (..). T is defined
7 -- in Mod157_A, but (only) two of its constructors is visible
8 -- in Mod157_D, one via Mod157_B, the other via Mod157_C.
9 a = A
10 b = B
11 -- C is out of scope.
12 c = C
13
14