summaryrefslogtreecommitdiff
path: root/test/files/pos/t6562.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2012-11-05 13:58:40 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2012-11-05 13:58:40 -0800
commit3b68b45a200087104a1ac2de7c4b86635023fd4d (patch)
tree3d9fad1100c241b8663703898e46c030698eafe7 /test/files/pos/t6562.scala
parent999918311b7bf764916431485cb11043f1c220ed (diff)
parentaedc853040d7774bd39df43a51715f674f99471e (diff)
downloadscala-3b68b45a200087104a1ac2de7c4b86635023fd4d.tar.gz
scala-3b68b45a200087104a1ac2de7c4b86635023fd4d.tar.bz2
scala-3b68b45a200087104a1ac2de7c4b86635023fd4d.zip
Merge pull request #1574 from jsuereth/merge-2.10.0
Merge 2.10.0-RC2 into 2.10.x
Diffstat (limited to 'test/files/pos/t6562.scala')
-rw-r--r--test/files/pos/t6562.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t6562.scala b/test/files/pos/t6562.scala
new file mode 100644
index 0000000000..eec7aa5199
--- /dev/null
+++ b/test/files/pos/t6562.scala
@@ -0,0 +1,14 @@
+class Test {
+
+ @inline
+ def foo {
+ def it = new {}
+ (_: Any) => it
+ }
+
+ @inline
+ private def bar {
+ def it = new {}
+ (_: Any) => it
+ }
+}