[commit: ghc] wip/rae: Test #9066 in th/T9066 (1d35c85)
git at git.haskell.org
git at git.haskell.org
Wed Nov 12 18:27:52 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/rae
Link : http://ghc.haskell.org/trac/ghc/changeset/1d35c85679416a955a4aee8e8a6a1b71d4ac827e/ghc
>---------------------------------------------------------------
commit 1d35c85679416a955a4aee8e8a6a1b71d4ac827e
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Sun Nov 2 13:44:27 2014 -0500
Test #9066 in th/T9066
>---------------------------------------------------------------
1d35c85679416a955a4aee8e8a6a1b71d4ac827e
testsuite/tests/th/T9066.hs | 10 ++++++++++
testsuite/tests/th/all.T | 2 ++
2 files changed, 12 insertions(+)
diff --git a/testsuite/tests/th/T9066.hs b/testsuite/tests/th/T9066.hs
new file mode 100644
index 0000000..2e46fe5
--- /dev/null
+++ b/testsuite/tests/th/T9066.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module T9066 where
+
+$([d| data Blargh = (:<=>) Int Int
+ infix 4 :<=>
+
+ type Foo a b = Either a b
+ infix 5 `Foo`
+ |])
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index a35e126..3d64060 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -336,3 +336,5 @@ test('T8953', normal, compile, ['-v0'])
test('T9084', normal, compile_fail, ['-v0'])
test('T9738', normal, compile, ['-v0'])
test('T9081', normal, compile, ['-v0'])
+test('T9066', expect_broken(9066), compile, ['-v0'])
+
More information about the ghc-commits
mailing list