backend: add test for empty string literal
also restore removed disabled test
This commit is contained in:
committed by
SvyatoslavScherbina
parent
51d6dfe713
commit
0e43e0d0d8
@@ -385,6 +385,19 @@ task strdedup1(type: RunKonanTest) {
|
|||||||
source = "datagen/literals/strdedup1.kt"
|
source = "datagen/literals/strdedup1.kt"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
TODO: enable after supporting Unit object
|
||||||
|
task strdedup2(type: RunKonanTest) {
|
||||||
|
goldValue = "true\ntrue\n"
|
||||||
|
source = "datagen/literals/strdedup2.kt"
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
task empty_string(type: RunKonanTest) {
|
||||||
|
goldValue = "\n"
|
||||||
|
source = "datagen/literals/empty_string.kt"
|
||||||
|
}
|
||||||
|
|
||||||
task intrinsic(type: UnitKonanTest) {
|
task intrinsic(type: UnitKonanTest) {
|
||||||
source = "codegen/function/intrinsic.kt"
|
source = "codegen/function/intrinsic.kt"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fun main(args : Array<String>) {
|
||||||
|
println("")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user