summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/T4891/X.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/T4891/X.hs')
-rw-r--r--testsuite/tests/ghc-api/T4891/X.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/T4891/X.hs b/testsuite/tests/ghc-api/T4891/X.hs
new file mode 100644
index 0000000000..aca63eead5
--- /dev/null
+++ b/testsuite/tests/ghc-api/T4891/X.hs
@@ -0,0 +1,5 @@
+module X where
+
+data X = Int :-> Int
+ | Int :->. Int
+ | Int :->.+ Int