[commit: testsuite] master: Test Trac #8507 (1215543)
git at git.haskell.org
git at git.haskell.org
Tue Nov 12 15:07:53 UTC 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/12155437ae9cc6bade3beb209c188859b2867799/testsuite
>---------------------------------------------------------------
commit 12155437ae9cc6bade3beb209c188859b2867799
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Nov 7 13:29:28 2013 +0000
Test Trac #8507
>---------------------------------------------------------------
12155437ae9cc6bade3beb209c188859b2867799
tests/th/T8507.hs | 8 ++++++++
tests/th/all.T | 1 +
2 files changed, 9 insertions(+)
diff --git a/tests/th/T8507.hs b/tests/th/T8507.hs
new file mode 100644
index 0000000..978dbb0
--- /dev/null
+++ b/tests/th/T8507.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE ConstraintKinds #-}
+
+module T8507 where
+
+type Stringy1 a = (Read a, Show a)
+
+$([d|type Stringy2 a = (Read a, Show a) |])
diff --git a/tests/th/all.T b/tests/th/all.T
index 5428b9c..ae6f02a 100644
--- a/tests/th/all.T
+++ b/tests/th/all.T
@@ -306,3 +306,4 @@ test('T7667a', normal, compile_fail, ['-v0'])
test('T8455', normal, compile, ['-v0'])
test('T8499', normal, compile, ['-v0'])
test('T7477', normal, compile, ['-v0'])
+test('T8507', normal, compile, ['-v0'])
More information about the ghc-commits
mailing list