Test Trac #8507
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 7 Nov 2013 13:29:28 +0000 (13:29 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 12 Nov 2013 15:07:43 +0000 (15:07 +0000)
testsuite/tests/th/T8507.hs [new file with mode: 0644]
testsuite/tests/th/all.T

diff --git a/testsuite/tests/th/T8507.hs b/testsuite/tests/th/T8507.hs
new file mode 100644 (file)
index 0000000..978dbb0
--- /dev/null
@@ -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) |])
index 5428b9c..ae6f02a 100644 (file)
@@ -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'])