summaryrefslogtreecommitdiff
path: root/test/files/run/delambdafy-specialized.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/delambdafy-specialized.scala')
-rw-r--r--test/files/run/delambdafy-specialized.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/delambdafy-specialized.scala b/test/files/run/delambdafy-specialized.scala
new file mode 100644
index 0000000000..634d4e490b
--- /dev/null
+++ b/test/files/run/delambdafy-specialized.scala
@@ -0,0 +1,6 @@
+object Test {
+ def main(args: Array[String]): Unit = {
+ val f = (x: Int) => -x
+ println(f.getClass.getSuperclass.getName)
+ }
+}