aboutsummaryrefslogtreecommitdiff
path: root/tests/run/correct-bind.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-05-27 15:53:23 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-05-27 16:41:38 +0200
commita2e49e24ec9e39eabfd7ec402c17e72639eb8bbd (patch)
tree2be13809fffba431fd307e4ed6e31d80e3cdebe1 /tests/run/correct-bind.scala
parent6c7b7e3eea21d4a704bea9014a2867fd330294da (diff)
downloaddotty-a2e49e24ec9e39eabfd7ec402c17e72639eb8bbd.tar.gz
dotty-a2e49e24ec9e39eabfd7ec402c17e72639eb8bbd.tar.bz2
dotty-a2e49e24ec9e39eabfd7ec402c17e72639eb8bbd.zip
Add test for previous ensuring correct binds
Diffstat (limited to 'tests/run/correct-bind.scala')
-rw-r--r--tests/run/correct-bind.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run/correct-bind.scala b/tests/run/correct-bind.scala
new file mode 100644
index 000000000..9f45012bf
--- /dev/null
+++ b/tests/run/correct-bind.scala
@@ -0,0 +1,4 @@
+object Test extends dotty.runtime.LegacyApp {
+ val Array(who, what: _*) = "first second third" split (" ")
+ println(what)
+}