diff options
author | michelou <michelou@epfl.ch> | 2011-11-27 11:41:16 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-11-27 11:41:16 +0000 |
commit | 172563dfbbc674789fad1f8d8cd6567e06e52c99 (patch) | |
tree | ce66093b871f42b84aee64456f3def25878a2a5e /test/files/ant/scalac004.scala | |
parent | 37201dd3cd6da6ca47f651a5b346a7706ae1e561 (diff) | |
download | scala-172563dfbbc674789fad1f8d8cd6567e06e52c99.tar.gz scala-172563dfbbc674789fad1f8d8cd6567e06e52c99.tar.bz2 scala-172563dfbbc674789fad1f8d8cd6567e06e52c99.zip |
updated test cases for Scala Ant tasks
Diffstat (limited to 'test/files/ant/scalac004.scala')
-rw-r--r-- | test/files/ant/scalac004.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/ant/scalac004.scala b/test/files/ant/scalac004.scala new file mode 100644 index 0000000000..66b2ba7985 --- /dev/null +++ b/test/files/ant/scalac004.scala @@ -0,0 +1,11 @@ +package test + +object Main { + def main(args: Array[String]) { + val xs = List(1, 2, 3, 4) + xs match { //(xs: @unchecked) match { + case x::xs => println(x) + } + Predef.exit(0) //deprecated in 2.9.0 + } +} |