diff options
Diffstat (limited to 'tests/pos/t2504.scala')
-rwxr-xr-x | tests/pos/t2504.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/t2504.scala b/tests/pos/t2504.scala new file mode 100755 index 000000000..72117174c --- /dev/null +++ b/tests/pos/t2504.scala @@ -0,0 +1,6 @@ +object Test { + val zs = Array("abc") + val ys: Iterable[_] = Array("abc") + val xs = Array("abc") + xs sameElements Array("abc") +} |