summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/MultiExport.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/MultiExport.hs')
-rw-r--r--testsuite/tests/module/MultiExport.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/module/MultiExport.hs b/testsuite/tests/module/MultiExport.hs
new file mode 100644
index 0000000000..4f8079ee81
--- /dev/null
+++ b/testsuite/tests/module/MultiExport.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE PatternSynonyms #-}
+module Foo ( A(x, x) ) where
+
+data A = A Int
+
+pattern Pattern{x} = A x