Added test on function overriding return type with Unit
This commit is contained in:
@@ -688,6 +688,11 @@ task bridges_test17(type: RunKonanTest) {
|
||||
source = "codegen/bridges/test17.kt"
|
||||
}
|
||||
|
||||
task bridges_test18(type: RunKonanTest) {
|
||||
goldValue = "kotlin.Unit\n"
|
||||
source = "codegen/bridges/test18.kt"
|
||||
}
|
||||
|
||||
task bridges_linkTest(type: LinkKonanTest) {
|
||||
goldValue = "42\n42\n42\n"
|
||||
source = "codegen/bridges/linkTest_main.kt"
|
||||
|
||||
Reference in New Issue
Block a user