diff options
Diffstat (limited to 'tests/run/i1284.scala')
-rw-r--r-- | tests/run/i1284.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/i1284.scala b/tests/run/i1284.scala new file mode 100644 index 000000000..f8b9de0de --- /dev/null +++ b/tests/run/i1284.scala @@ -0,0 +1,8 @@ +case object A +case object B + +object Test { + def main(args: Array[String]): Unit = { + assert(Array(A, B).deep.toString == "Array(A, B)") + } +} |