Added some corner tests on escape analysis

This commit is contained in:
Igor Chevdar
2017-08-07 16:45:35 +03:00
parent 31d2618b9c
commit 56e08e40e8
3 changed files with 47 additions and 0 deletions
+10
View File
@@ -1757,6 +1757,16 @@ task memory_throw_cleanup(type: RunKonanTest) {
source = "runtime/memory/throw_cleanup.kt"
}
task memory_escape1(type: RunKonanTest) {
goldValue = "zzz\n"
source = "runtime/memory/escape1.kt"
}
task memory_escape2(type: RunKonanTest) {
goldValue = "zzz\n"
source = "runtime/memory/escape2.kt"
}
task unit1(type: RunKonanTest) {
goldValue = "First\nkotlin.Unit\n"
source = "codegen/basics/unit1.kt"