summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Test13163.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/Test13163.hs')
-rw-r--r--testsuite/tests/printer/Test13163.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Test13163.hs b/testsuite/tests/printer/Test13163.hs
new file mode 100644
index 0000000000..439d825386
--- /dev/null
+++ b/testsuite/tests/printer/Test13163.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ExplicitNamespaces #-}
+module T13163
+ ( Record(..)
+ , type (?)(..)
+ , f, type (+), pattern Single
+ ) where
+
+import Data.Promotion.Prelude (type (:+$), type (:*$), type (:^$), type (:-$))
+import Options.Generic (Generic, ParseRecord, type (<?>)(..))
+import GHC.TypeLits
+
+pattern Single x = [x]
+
+f = undefined