[Git][ghc/ghc][master] testsuite: Add broken test for #18302

Marge Bot gitlab at gitlab.haskell.org
Wed Sep 2 19:54:27 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
b4edcde7 by Ben Gamari at 2020-09-01T14:53:42-04:00
testsuite: Add broken test for #18302

- - - - -


3 changed files:

- + testsuite/tests/rename/should_compile/T18302A.hs
- + testsuite/tests/rename/should_compile/T18302B.hs
- testsuite/tests/rename/should_compile/all.T


Changes:

=====================================
testsuite/tests/rename/should_compile/T18302A.hs
=====================================
@@ -0,0 +1,4 @@
+module T18302A ( module GHC.Prim ) where
+
+import GHC.Prim
+


=====================================
testsuite/tests/rename/should_compile/T18302B.hs
=====================================
@@ -0,0 +1,8 @@
+-- | Check that TYPE and (->) are re-exportable.
+module T18302B where
+
+import T18302A
+
+type T = TYPE
+type F = (->)
+


=====================================
testsuite/tests/rename/should_compile/all.T
=====================================
@@ -176,3 +176,4 @@ test('T17832', [], multimod_compile, ['T17832M1', 'T17832M2'])
 test('T17837', normal, compile, [''])
 test('T18497', [], makefile_test, ['T18497'])
 test('T18264', [], makefile_test, ['T18264'])
+test('T18302', expect_broken(18302), compile, [''])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b4edcde70160820dd23c53d9019f895930e2c0e7

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b4edcde70160820dd23c53d9019f895930e2c0e7
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200902/ad27ccc4/attachment.html>


More information about the ghc-commits mailing list