[commit: ghc] master: Test case for #11699 in typecheck/should_compile (693b38c)
git at git.haskell.org
git at git.haskell.org
Tue Mar 15 03:50:44 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/693b38cbf5cd298b793b3179fb6cc57e196b55d0/ghc
>---------------------------------------------------------------
commit 693b38cbf5cd298b793b3179fb6cc57e196b55d0
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Fri Mar 11 10:27:53 2016 -0500
Test case for #11699 in typecheck/should_compile
[skip ci]
>---------------------------------------------------------------
693b38cbf5cd298b793b3179fb6cc57e196b55d0
testsuite/tests/typecheck/should_compile/T11699.hs | 5 +++++
testsuite/tests/typecheck/should_compile/all.T | 1 +
2 files changed, 6 insertions(+)
diff --git a/testsuite/tests/typecheck/should_compile/T11699.hs b/testsuite/tests/typecheck/should_compile/T11699.hs
new file mode 100644
index 0000000..2334f29
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/T11699.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE TypeFamilies, PolyKinds #-}
+
+module T11699 where
+
+type family F a where F (f a) = f a
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T
index 8974153..7e6a175 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -508,3 +508,4 @@ test('T11552', normal, compile, [''])
test('T11246', normal, compile, [''])
test('T11608', normal, compile, [''])
test('T11401', normal, compile, [''])
+test('T11699', normal, compile, [''])
More information about the ghc-commits
mailing list