summaryrefslogtreecommitdiff
path: root/test/files/run/amp.scala
diff options
context:
space:
mode:
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()())
-
}
-
-
-