summaryrefslogtreecommitdiff
path: root/test/files/run/amp.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2008-06-10 09:25:57 +0000
committermichelou <michelou@epfl.ch>2008-06-10 09:25:57 +0000
commitdbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb (patch)
tree2a85e677fa8febcf1f28f86907813a089d85ac18 /test/files/run/amp.scala
parenta4baf28d203959457d82762e27ffbb7104dc0a07 (diff)
downloadscala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.tar.gz
scala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.tar.bz2
scala-dbfdf0ec6d3ef0017b279dd9a195ce2615f9c3bb.zip
added EOLs, missing headers
Diffstat (limited to 'test/files/run/amp.scala')
-rw-r--r--test/files/run/amp.scala8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/files/run/amp.scala b/test/files/run/amp.scala
index d46461ba20..367f3b31e4 100644
--- a/test/files/run/amp.scala
+++ b/test/files/run/amp.scala
@@ -1,19 +1,15 @@
object Test extends Application {
def foo() = {
- def f: int = 1
+ def f: Int = 1
val x = f _
x
}
- def bar(g: => int) = {
+ def bar(g: => Int) = {
g _
}
Console.println((bar{ Console.println("g called"); 42 })())
Console.println(foo()())
-
}
-
-
-