[commit: ghc] master: Test Trac #10466 (8e5f8cf)

git at git.haskell.org git at git.haskell.org
Tue Jun 2 11:37:34 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8e5f8cf4892971f9e1cf143672801eaad7138098/ghc

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

commit 8e5f8cf4892971f9e1cf143672801eaad7138098
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jun 2 12:37:27 2015 +0100

    Test Trac #10466


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

8e5f8cf4892971f9e1cf143672801eaad7138098
 testsuite/tests/ghci/scripts/T10466.script | 3 +++
 testsuite/tests/ghci/scripts/all.T         | 1 +
 2 files changed, 4 insertions(+)

diff --git a/testsuite/tests/ghci/scripts/T10466.script b/testsuite/tests/ghci/scripts/T10466.script
new file mode 100644
index 0000000..bb89e47
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T10466.script
@@ -0,0 +1,3 @@
+:set -XTemplateHaskell
+let x = True
+let y = [d| x = 'c' |]
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 2c48358..212b0e5 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -217,3 +217,4 @@ test('T10408B', normal, run_command,
 test('T10248', normal, ghci_script, ['T10248.script'])
 test('T10110', normal, ghci_script, ['T10110.script'])
 test('T10322', normal, ghci_script, ['T10322.script'])
+test('T10466', normal, ghci_script, ['T10466.script'])



More information about the ghc-commits mailing list