Test Trac #10466
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 2 Jun 2015 11:37:27 +0000 (12:37 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 2 Jun 2015 11:37:27 +0000 (12:37 +0100)
testsuite/tests/ghci/scripts/T10466.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T

diff --git a/testsuite/tests/ghci/scripts/T10466.script b/testsuite/tests/ghci/scripts/T10466.script
new file mode 100644 (file)
index 0000000..bb89e47
--- /dev/null
@@ -0,0 +1,3 @@
+:set -XTemplateHaskell
+let x = True
+let y = [d| x = 'c' |]
index 2c48358..212b0e5 100755 (executable)
@@ -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'])