summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/T11432.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/T11432.hs')
-rw-r--r--testsuite/tests/module/T11432.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/module/T11432.hs b/testsuite/tests/module/T11432.hs
new file mode 100644
index 0000000000..408935d4ec
--- /dev/null
+++ b/testsuite/tests/module/T11432.hs
@@ -0,0 +1,9 @@
+{-
+We expect to get a suggestion to add 'type' keyword
+and enable TypeOperators extension.
+-}
+
+{-# LANGUAGE TypeOperators #-}
+module T11432 ((-.->)(..)) where
+
+newtype (f -.-> g) a = Fn { apFn :: f a -> g a }