Add codegen box test templates for identifiers

This commit is contained in:
victor.petukhov
2018-09-25 13:06:55 +03:00
parent dd91727a78
commit 1bc0c4092c
28 changed files with 800 additions and 0 deletions
@@ -0,0 +1,12 @@
infix fun Int.<!ELEMENT(1)!>(value: Int) = value > 100
infix fun Int.<!ELEMENT(2)!>(value: Int): Int {
return value - 90
}
fun box(): String? {
if (1 + 1 <!ELEMENT(1)!> -1001020) return null
if (1 + 1 <!ELEMENT(2)!> 2004 <!ELEMENT(1)!> -0) return null
return "OK"
}