backend: add tests:

* test for uninitialized vals
* test initializers3: global `var` of reference type
* expression_as_statement (disabled): using type operator as statement

Also enable test break1.
This commit is contained in:
Svyatoslav Scherbina
2016-12-23 10:48:39 +07:00
parent 25db86df3e
commit 62737efd54
4 changed files with 54 additions and 1 deletions
@@ -0,0 +1,7 @@
class Foo(val bar: Int)
var x = Foo(42)
fun main(args: Array<String>) {
println(x.bar)
}