[commit: ghc] ghc-8.0: Test #11484 in th/T11484 (9994285)

git at git.haskell.org git at git.haskell.org
Wed Aug 24 00:22:25 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/999428588c2eb20f66b7dc1a1021aeee759e1df2/ghc

>---------------------------------------------------------------

commit 999428588c2eb20f66b7dc1a1021aeee759e1df2
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Tue Apr 26 14:07:08 2016 -0400

    Test #11484 in th/T11484
    
    (cherry picked from commit 7242582b2fad6e0a734c012da25e66fe6f2ef11a)


>---------------------------------------------------------------

999428588c2eb20f66b7dc1a1021aeee759e1df2
 testsuite/tests/th/T11484.hs | 9 +++++++++
 testsuite/tests/th/all.T     | 1 +
 2 files changed, 10 insertions(+)

diff --git a/testsuite/tests/th/T11484.hs b/testsuite/tests/th/T11484.hs
new file mode 100644
index 0000000..d8c0708
--- /dev/null
+++ b/testsuite/tests/th/T11484.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeInType #-}
+
+module T11484 where
+
+import Data.Kind
+
+type TySyn (k :: *) (a :: k) = ()
+
+$([d| type TySyn2 (k :: *) (a :: k) = () |])
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index 2e7a6ba..f502252 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -408,5 +408,6 @@ test('T11680', normal, compile_fail, ['-v0'])
 test('T11809', normal, compile, ['-v0'])
 test('T11797', normal, compile, ['-v0 -dsuppress-uniques'])
 test('T11941', normal, compile_fail, ['-v0'])
+test('T11484', normal, compile, ['-v0'])
 test('T12130', extra_clean(['T12130a.hi','T12130a.o']),
               multimod_compile, ['T12130', '-v0 ' + config.ghc_th_way_flags])



More information about the ghc-commits mailing list