add test files
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package foo
|
||||
|
||||
fun f(a: (Int) -> Int) = a(1)
|
||||
|
||||
fun box() : Boolean {
|
||||
|
||||
if (f() {
|
||||
it + 2
|
||||
} != 3) return false
|
||||
|
||||
if (f() {(a : Int) -> a * 300} != 300) return false;
|
||||
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user