diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2016-04-26 14:07:08 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2016-04-28 15:17:10 -0400 |
commit | b28d61d9f97144c63d5adf3def4bf39e554476f6 (patch) | |
tree | 82a5459f107dc8acd29a27ca1ad1969f09298a5f | |
parent | 19b7ac29b5fce20c67474407144281a10940b44f (diff) | |
download | haskell-b28d61d9f97144c63d5adf3def4bf39e554476f6.tar.gz |
Test #11484 in th/T11484wip/no-telescope-tvs
-rw-r--r-- | testsuite/tests/th/T11484.hs | 9 | ||||
-rw-r--r-- | testsuite/tests/th/all.T | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/th/T11484.hs b/testsuite/tests/th/T11484.hs new file mode 100644 index 0000000000..d8c0708bd2 --- /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 09960d1128..a69f8a7413 100644 --- a/testsuite/tests/th/all.T +++ b/testsuite/tests/th/all.T @@ -404,3 +404,4 @@ 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']) |