[commit: testsuite] master: Add testcase for #8563 (d7702a1)
git at git.haskell.org
git at git.haskell.org
Mon Nov 25 17:54:56 UTC 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d7702a16c4a1d62a184c13cb9097747dfa559335/testsuite
>---------------------------------------------------------------
commit d7702a16c4a1d62a184c13cb9097747dfa559335
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Mon Nov 25 17:54:23 2013 +0000
Add testcase for #8563
>---------------------------------------------------------------
d7702a16c4a1d62a184c13cb9097747dfa559335
tests/typecheck/should_compile/T8563.hs | 4 ++++
tests/typecheck/should_compile/all.T | 1 +
2 files changed, 5 insertions(+)
diff --git a/tests/typecheck/should_compile/T8563.hs b/tests/typecheck/should_compile/T8563.hs
new file mode 100644
index 0000000..659a255
--- /dev/null
+++ b/tests/typecheck/should_compile/T8563.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE PolyKinds #-}
+module Tagged where
+
+newtype Tagged s b = Tagged b deriving Eq
diff --git a/tests/typecheck/should_compile/all.T b/tests/typecheck/should_compile/all.T
index 8656cf0..453548b 100644
--- a/tests/typecheck/should_compile/all.T
+++ b/tests/typecheck/should_compile/all.T
@@ -412,3 +412,4 @@ test('TcTypeNatSimple', normal, compile, [''])
test('TcCoercibleCompile', when(compiler_lt('ghc', '7.7'), skip), compile, [''])
test('T8392', normal, compile, [''])
test('T8474', normal, compile, [''])
+test('T8563', expect_broken(8562), compile, [''])
More information about the ghc-commits
mailing list