summaryrefslogtreecommitdiff
path: root/test/files/run/t5535.check
blob: 11d298c602de69a256aabc46d06765ee9260e0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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> :quit