From 15dfc9bd4a42d72d6dce5bff05342d8e178cce0a Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 16 Sep 2002 14:03:37 +0000 Subject: [project @ 2002-09-16 14:03:33 by simonmar] Add Hugs's module system tests. Many of them duplicate other tests in testsuite/ghc-regress, but it was easier to just import the whole lot rather than trying to figure out which ones are useful. They don't take long to run, anyhow. One bug was found: GHC accepts a type signature for a qualified name, but this is disallowed by Haskell 98. --- testsuite/tests/ghc-regress/module/mod21.hs | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testsuite/tests/ghc-regress/module/mod21.hs (limited to 'testsuite/tests/ghc-regress/module/mod21.hs') diff --git a/testsuite/tests/ghc-regress/module/mod21.hs b/testsuite/tests/ghc-regress/module/mod21.hs new file mode 100644 index 0000000000..7d24286464 --- /dev/null +++ b/testsuite/tests/ghc-regress/module/mod21.hs @@ -0,0 +1,3 @@ +-- !!! Testing duplicate type constructors +data T = K1 +data T = K2 -- cgit v1.2.1