diff options
author | michelou <michelou@epfl.ch> | 2006-04-25 15:38:45 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-04-25 15:38:45 +0000 |
commit | ffa1aaad1bd80bc251ba3e60b34a600beddb2d35 (patch) | |
tree | 70bffe928dbba99ca053357586e0eb77dc66d6cd /test/files/cli/test3 | |
parent | 2313191913d6d0af36eb397c8882ff3953fa9f94 (diff) | |
download | scala-ffa1aaad1bd80bc251ba3e60b34a600beddb2d35.tar.gz scala-ffa1aaad1bd80bc251ba3e60b34a600beddb2d35.tar.bz2 scala-ffa1aaad1bd80bc251ba3e60b34a600beddb2d35.zip |
improved script test/clitest
Diffstat (limited to 'test/files/cli/test3')
-rw-r--r-- | test/files/cli/test3/Main.check.javac5 | 4 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.jikes | 4 | ||||
-rw-r--r-- | test/files/cli/test3/Main.java | 1 | ||||
-rw-r--r-- | test/files/cli/test3/Main.scala | 1 |
4 files changed, 6 insertions, 4 deletions
diff --git a/test/files/cli/test3/Main.check.javac5 b/test/files/cli/test3/Main.check.javac5 index 2a5d233989..3a48fa000e 100644 --- a/test/files/cli/test3/Main.check.javac5 +++ b/test/files/cli/test3/Main.check.javac5 @@ -22,10 +22,10 @@ where possible options include: -X Print a synopsis of nonstandard options -J<flag> Pass <flag> directly to the runtime system -files/cli/test3/Main.java:5: package test1 does not exist +files/cli/test3/Main.java:6: package test1 does not exist test1.Main.main(args); ^ -files/cli/test3/Main.java:7: package test2 does not exist +files/cli/test3/Main.java:8: package test2 does not exist test2.Main.main(args); ^ 2 errors diff --git a/test/files/cli/test3/Main.check.jikes b/test/files/cli/test3/Main.check.jikes index d183a014d9..604333e81a 100644 --- a/test/files/cli/test3/Main.check.jikes +++ b/test/files/cli/test3/Main.check.jikes @@ -4,11 +4,11 @@ For more help, try -help or -version. Found 2 semantic errors compiling "files/cli/test3/Main.java": - 5. test1.Main.main(args); + 6. test1.Main.main(args); ^---^ *** Semantic Error: No accessible field named "test1" was found in type "test3.Main". - 7. test2.Main.main(args); + 8. test2.Main.main(args); ^---^ *** Semantic Error: No accessible field named "test2" was found in type "test3.Main". diff --git a/test/files/cli/test3/Main.java b/test/files/cli/test3/Main.java index 41cafefa55..89800b43d2 100644 --- a/test/files/cli/test3/Main.java +++ b/test/files/cli/test3/Main.java @@ -1,3 +1,4 @@ +// @info 2 dependency package test3; public class Main { public static void main(String args[]) { diff --git a/test/files/cli/test3/Main.scala b/test/files/cli/test3/Main.scala index 2d38e438f6..c97e18c249 100644 --- a/test/files/cli/test3/Main.scala +++ b/test/files/cli/test3/Main.scala @@ -1,3 +1,4 @@ +// @info 2 dependencies package test3 object Main { def main(args: Array[String]) = { |