summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T2993.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T2993.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T2993.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T2993.hs b/testsuite/tests/rename/should_fail/T2993.hs
new file mode 100644
index 0000000000..99f2a89ca1
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T2993.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeOperators #-}
+
+-- Trac #2993
+
+module T2993 where
+
+foo b a = a <$> b . b
+