summaryrefslogtreecommitdiff
path: root/test/files/neg/t5882.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5882.scala')
-rw-r--r--test/files/neg/t5882.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/files/neg/t5882.scala b/test/files/neg/t5882.scala
index 1233eb636f..3a55abdc9a 100644
--- a/test/files/neg/t5882.scala
+++ b/test/files/neg/t5882.scala
@@ -1,5 +1,6 @@
+// SIP-15 was changed to allow nested classes. See run/t5882.scala
+
class NodeOps(val n: Any) extends AnyVal {
- case class Scope
- class Foo
+ case class Scope()
object Bar
}