mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
Inline test data structure changed
This commit is contained in:
committed by
Michael Bogdanov
parent
b37c0d3fff
commit
02c6bdeaa3
@@ -0,0 +1,12 @@
|
||||
import zzz.*
|
||||
|
||||
fun box(): String {
|
||||
|
||||
val p = { calc { 11 }} ()
|
||||
|
||||
val z = { calc { 12 }}()
|
||||
|
||||
if (p == z) return "fail"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user