summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T2310.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T2310.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T2310.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T2310.hs b/testsuite/tests/rename/should_fail/T2310.hs
new file mode 100644
index 0000000000..6094b8e211
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T2310.hs
@@ -0,0 +1,5 @@
+{-# OPTIONS_GHC -XScopedTypeVariables #-}
+
+module Foo where
+
+foo = let c = \ x :: a -> (x :: a) in co