summaryrefslogtreecommitdiff
path: root/test/files/jvm5
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-04-08 15:26:46 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-04-08 15:26:46 +0000
commit93ab0ec361be4406982dd828d433a3e60a0864e3 (patch)
tree317c6eebd4f69c32de40686d0ddfe2334b5c8d6d /test/files/jvm5
parente8f9c640937df828cec892834c1197e922669bd8 (diff)
downloadscala-93ab0ec361be4406982dd828d433a3e60a0864e3.tar.gz
scala-93ab0ec361be4406982dd828d433a3e60a0864e3.tar.bz2
scala-93ab0ec361be4406982dd828d433a3e60a0864e3.zip
Move the test because it will fail on jvm1.4.
Diffstat (limited to 'test/files/jvm5')
-rw-r--r--test/files/jvm5/console.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/jvm5/console.scala b/test/files/jvm5/console.scala
new file mode 100644
index 0000000000..b07765675c
--- /dev/null
+++ b/test/files/jvm5/console.scala
@@ -0,0 +1,14 @@
+
+/** Test scala.Console functionality. */
+object Test extends Application {
+
+ import Console._
+ print(true)
+ print(1)
+ print(1.0)
+ flush
+ println("..")
+ println(1)
+ printf("Argument nr. %d has value %1.2f\n",
+ 1, 10.0/3)
+}