A test for local delegated property deserialization

This commit is contained in:
Alexander Gorshenev
2019-06-25 18:48:13 +03:00
committed by alexander-gorshenev
parent e841798c47
commit 2c31173725
3 changed files with 17 additions and 0 deletions
+6
View File
@@ -370,6 +370,12 @@ task slackReportNightly(type:NightlyReporter) {
externalWindowsReport = "external_windows_results/reports.json"
}
linkTest("localDelegatedPropertyLink") {
goldValue = "OK\n"
source = "lower/local_delegated_property_link/main.kt"
lib = "lower/local_delegated_property_link/lib.kt"
}
task sum(type: KonanLocalTest) {
source = "codegen/function/sum.kt"
}
@@ -0,0 +1,8 @@
fun foo(): String{
val bar: String by lazy {
"OK"
}
return bar
}
@@ -0,0 +1,3 @@
fun main() {
println(foo())
}