summaryrefslogtreecommitdiff
path: root/test/disabled/script/fact.bat
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2009-11-06 19:06:35 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2009-11-06 19:06:35 +0000
commit5d25e9334d6dfd492cb5312a43b3d3f36042401a (patch)
treef3740e52f6439d41a0969880aa2a7abd92115141 /test/disabled/script/fact.bat
parentd42f62bbd76df85ed57162118a8c720f50bbd5c5 (diff)
downloadscala-5d25e9334d6dfd492cb5312a43b3d3f36042401a.tar.gz
scala-5d25e9334d6dfd492cb5312a43b3d3f36042401a.tar.bz2
scala-5d25e9334d6dfd492cb5312a43b3d3f36042401a.zip
Moved disabled tests back into their original p...
Moved disabled tests back into their original place. Expect 7 tests to fail.
Diffstat (limited to 'test/disabled/script/fact.bat')
-rwxr-xr-xtest/disabled/script/fact.bat17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/disabled/script/fact.bat b/test/disabled/script/fact.bat
deleted file mode 100755
index bee0ba25c6..0000000000
--- a/test/disabled/script/fact.bat
+++ /dev/null
@@ -1,17 +0,0 @@
-::#!
-:: fact - A simple Scala batch file that prints out the factorial
-:: of the argument specified on the command line.
-
-@echo off
-call scala -nocompdaemon %0 %*
-goto :eof
-::!#
-
-
-val x = argv(0).toInt
-
-def fact(x: Int):Int =
- if(x==0) 1
- else x*fact(x-1)
-
-Console.println("fact(" + x + ") = " + fact(x))