summaryrefslogtreecommitdiff
path: root/test/files/run/t5535.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-04-12 20:35:05 +0100
committerPaul Phillips <paulp@improving.org>2012-04-12 21:56:20 +0100
commitf1c6714e22e70ecba2aa595bf592b916be82deb4 (patch)
tree9c59c245a90cade2c9747ee82a4bba62d3aafe32 /test/files/run/t5535.check
parentcfc4757a580c537425857ff849f3dc106d924092 (diff)
downloadscala-f1c6714e22e70ecba2aa595bf592b916be82deb4.tar.gz
scala-f1c6714e22e70ecba2aa595bf592b916be82deb4.tar.bz2
scala-f1c6714e22e70ecba2aa595bf592b916be82deb4.zip
Fix for SI-5535.
Diffstat (limited to 'test/files/run/t5535.check')
-rw-r--r--test/files/run/t5535.check20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/files/run/t5535.check b/test/files/run/t5535.check
new file mode 100644
index 0000000000..8da9829b78
--- /dev/null
+++ b/test/files/run/t5535.check
@@ -0,0 +1,20 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> def h()(i: Int) = 1 + i
+h: ()(i: Int)Int
+
+scala> println(h()(5))
+6
+
+scala> val f = h() _
+f: Int => Int = <function1>
+
+scala> println(f(10))
+11
+
+scala>
+
+scala>