Basic class members generation.

Split testData into 'classes' and 'expressions'.
This commit is contained in:
Dmitry Petrov
2016-08-25 18:42:24 +03:00
committed by Dmitry Petrov
parent 703d3405ed
commit 0b647ac358
102 changed files with 356 additions and 244 deletions
+17
View File
@@ -0,0 +1,17 @@
fun test() {
var x = 0
while (x < 0);
while (x < 5) x++
while (x < 10) { x++ }
do while (x < 0)
do x++ while (x < 15)
do { x ++ } while (x < 20)
}
fun testSmartcastInCondition() {
val a: Any? = null
if (a is Boolean) {
while (a) {}
do {} while (a)
}
}