aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3986.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t3986.scala')
-rw-r--r--tests/pos/t3986.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/t3986.scala b/tests/pos/t3986.scala
new file mode 100644
index 000000000..ea6c64fde
--- /dev/null
+++ b/tests/pos/t3986.scala
@@ -0,0 +1,10 @@
+object Test {
+ def main(args: Array[String]): Unit = {
+ new AnyRef {
+// TODO NEEDS MANUAL CHANGE (early initializers)
+// BEGIN copied early initializers
+val x = "abc"
+// END copied early initializers
+ }
+ }
+}