[commit: testsuite] master: Add test for #8455. (80fe965)

git at git.haskell.org git at git.haskell.org
Wed Oct 23 13:28:29 UTC 2013


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/80fe9654911445f0805567dd2e952c766035c392/testsuite

>---------------------------------------------------------------

commit 80fe9654911445f0805567dd2e952c766035c392
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Mon Oct 21 09:51:38 2013 -0400

    Add test for #8455.


>---------------------------------------------------------------

80fe9654911445f0805567dd2e952c766035c392
 tests/th/T8455.hs |    5 +++++
 tests/th/all.T    |    1 +
 2 files changed, 6 insertions(+)

diff --git a/tests/th/T8455.hs b/tests/th/T8455.hs
new file mode 100644
index 0000000..9023c7d
--- /dev/null
+++ b/tests/th/T8455.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE TemplateHaskell, DataKinds #-}
+
+module T8455 where
+
+ty = [t| 5 |]
\ No newline at end of file
diff --git a/tests/th/all.T b/tests/th/all.T
index 897c265..8d5fe11 100644
--- a/tests/th/all.T
+++ b/tests/th/all.T
@@ -301,3 +301,4 @@ test('T6062', normal, compile, ['-v0'])
 test('T4364', normal, compile, ['-v0'])
 test('T8412', normal, compile_fail, ['-v0'])
 test('T7667', normal, compile, ['-v0'])
+test('T8455', normal, compile, ['-v0'])
\ No newline at end of file



More information about the ghc-commits mailing list