aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/nestedLambdas.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/nestedLambdas.scala')
-rw-r--r--tests/pos/nestedLambdas.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/nestedLambdas.scala b/tests/pos/nestedLambdas.scala
new file mode 100644
index 000000000..0e186d193
--- /dev/null
+++ b/tests/pos/nestedLambdas.scala
@@ -0,0 +1,9 @@
+class Test {
+
+ type T = [X] -> [Y] -> (X, Y)
+
+ type A[X] = [Y] -> (X, Y)
+
+ type B[X] = (X, X)
+
+}