diff options
author | michelou <michelou@epfl.ch> | 2006-03-31 17:30:26 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-03-31 17:30:26 +0000 |
commit | 315ba402be1881e1c5ec812ffb14aa42c254e167 (patch) | |
tree | 13bf02be6ced91596bfcb37e320b3806a9611e72 /test/files/cli/test1/Main.java | |
parent | b178e4658b3066b3f2cb2210bc57af9e8de71868 (diff) | |
download | scala-315ba402be1881e1c5ec812ffb14aa42c254e167.tar.gz scala-315ba402be1881e1c5ec812ffb14aa42c254e167.tar.bz2 scala-315ba402be1881e1c5ec812ffb14aa42c254e167.zip |
added more functionality to test/clitest
corrected bug in file scala/concurrent/pilib.scala
Diffstat (limited to 'test/files/cli/test1/Main.java')
-rw-r--r-- | test/files/cli/test1/Main.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/cli/test1/Main.java b/test/files/cli/test1/Main.java new file mode 100644 index 0000000000..11d50255dd --- /dev/null +++ b/test/files/cli/test1/Main.java @@ -0,0 +1,7 @@ +package test1; +public class Main { + public static void main(String args[]) { + String arg = (args.length > 0) ? args[0] : "?"; + System.out.println("1: test " + arg + " passed"); + } +} |