diff options
author | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-11-05 22:51:58 -0500 |
---|---|---|
committer | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-11-05 22:51:58 -0500 |
commit | 5693ddd071033516a1804420a903cb7e3677682b (patch) | |
tree | 959990933e95fb69ef0934f8f675ea63b8115782 /testsuite | |
parent | 72b82343b79365dc74ffafb345dd33499a7fd394 (diff) | |
download | haskell-5693ddd071033516a1804420a903cb7e3677682b.tar.gz |
Actually add test for #15859.
Oops. Forgot to `git add`.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/dependent/should_fail/T15859.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_fail/T15859.hs b/testsuite/tests/dependent/should_fail/T15859.hs new file mode 100644 index 0000000000..e8ffdf4ae2 --- /dev/null +++ b/testsuite/tests/dependent/should_fail/T15859.hs @@ -0,0 +1,13 @@ +{-# Language PolyKinds #-} +{-# Language TypeApplications #-} +{-# Language ImpredicativeTypes #-} + +module T15859 where + +import Data.Kind + +data A k :: k -> Type + +type KindOf (a :: k) = k + +a = (undefined :: KindOf A) @Int |