summaryrefslogtreecommitdiff
path: root/test/files/run/delambdafy_t6555.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/delambdafy_t6555.check')
-rw-r--r--test/files/run/delambdafy_t6555.check15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/delambdafy_t6555.check b/test/files/run/delambdafy_t6555.check
new file mode 100644
index 0000000000..6b174c0d2a
--- /dev/null
+++ b/test/files/run/delambdafy_t6555.check
@@ -0,0 +1,15 @@
+[[syntax trees at end of specialize]] // newSource1.scala
+package <empty> {
+ class Foo extends Object {
+ def <init>(): Foo = {
+ Foo.super.<init>();
+ ()
+ };
+ private[this] val f: Int => Int = {
+ final <artifact> def $anonfun(param: Int): Int = param;
+ ((param: Int) => $anonfun(param))
+ };
+ <stable> <accessor> def f(): Int => Int = Foo.this.f
+ }
+}
+