summaryrefslogtreecommitdiff
path: root/test/files/pos/t1385.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1385.scala')
-rw-r--r--test/files/pos/t1385.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t1385.scala b/test/files/pos/t1385.scala
index 59953bcc39..6fe7308281 100644
--- a/test/files/pos/t1385.scala
+++ b/test/files/pos/t1385.scala
@@ -1,3 +1,3 @@
-@serializable object Test {
- private def readResolve:AnyRef = this
+object Test extends Serializable {
+ private def readResolve: AnyRef = this
}