summaryrefslogtreecommitdiff
path: root/test/files/run/delambdafy_uncurry_method.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/delambdafy_uncurry_method.check')
-rw-r--r--test/files/run/delambdafy_uncurry_method.check17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/run/delambdafy_uncurry_method.check b/test/files/run/delambdafy_uncurry_method.check
new file mode 100644
index 0000000000..5ee3d174b3
--- /dev/null
+++ b/test/files/run/delambdafy_uncurry_method.check
@@ -0,0 +1,17 @@
+[[syntax trees at end of uncurry]] // newSource1.scala
+package <empty> {
+ class Foo extends Object {
+ def <init>(): Foo = {
+ Foo.super.<init>();
+ ()
+ };
+ def bar(): Unit = {
+ val f: Int => Int = {
+ final <artifact> def $anonfun(x: Int): Int = x.+(1);
+ ((x: Int) => $anonfun(x))
+ };
+ ()
+ }
+ }
+}
+