aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pickling/i1202a.scala2
-rw-r--r--tests/pickling/zoo.scala2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/pickling/i1202a.scala b/tests/pickling/i1202a.scala
index 0bc19f4e3..a8134720f 100644
--- a/tests/pickling/i1202a.scala
+++ b/tests/pickling/i1202a.scala
@@ -1,3 +1,5 @@
+package i1202a
+
class Test[T] {
def testMethod: Unit =
new Foo(this)
diff --git a/tests/pickling/zoo.scala b/tests/pickling/zoo.scala
index 02dac8f5b..e6bde86b1 100644
--- a/tests/pickling/zoo.scala
+++ b/tests/pickling/zoo.scala
@@ -1,3 +1,5 @@
+package zoo
+
object Test {
trait FoodStuff
trait Meat extends FoodStuff {