[commit: ghc] wip/T9732: Add original bug report from #9732 as a test case (7d1505c)
git at git.haskell.org
git at git.haskell.org
Sat Nov 1 04:16:27 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T9732
Link : http://ghc.haskell.org/trac/ghc/changeset/7d1505c5734f36de72ea3d9981ad715f254c8433/ghc
>---------------------------------------------------------------
commit 7d1505c5734f36de72ea3d9981ad715f254c8433
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Sat Nov 1 12:14:52 2014 +0800
Add original bug report from #9732 as a test case
>---------------------------------------------------------------
7d1505c5734f36de72ea3d9981ad715f254c8433
testsuite/tests/patsyn/should_compile/T9732.hs | 4 ++++
testsuite/tests/patsyn/should_compile/all.T | 1 +
2 files changed, 5 insertions(+)
diff --git a/testsuite/tests/patsyn/should_compile/T9732.hs b/testsuite/tests/patsyn/should_compile/T9732.hs
new file mode 100644
index 0000000..7fd0515
--- /dev/null
+++ b/testsuite/tests/patsyn/should_compile/T9732.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE PatternSynonyms, MagicHash #-}
+module ShouldCompile where
+
+pattern P = 0#
diff --git a/testsuite/tests/patsyn/should_compile/all.T b/testsuite/tests/patsyn/should_compile/all.T
index 94950a1..55e3b83 100644
--- a/testsuite/tests/patsyn/should_compile/all.T
+++ b/testsuite/tests/patsyn/should_compile/all.T
@@ -11,3 +11,4 @@ test('export', normal, compile, [''])
test('T8966', normal, compile, [''])
test('T9023', normal, compile, [''])
test('unboxed-bind-bang', normal, compile, [''])
+test('T9732', normal, compile, [''])
More information about the ghc-commits
mailing list