aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/polytypes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/polytypes.scala')
-rw-r--r--tests/pending/pos/polytypes.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pending/pos/polytypes.scala b/tests/pending/pos/polytypes.scala
new file mode 100644
index 000000000..ec6c89d10
--- /dev/null
+++ b/tests/pending/pos/polytypes.scala
@@ -0,0 +1,9 @@
+object Test {
+
+ type T = [+X] => (List[X] => List[X])
+
+ def reverse[X](xs: List[X]): List[X] = ???
+
+ // val x: T = reverse
+
+}