backend: add test for empty string literal

also restore removed disabled test
This commit is contained in:
Svyatoslav Scherbina
2016-11-30 13:12:22 +07:00
committed by SvyatoslavScherbina
parent 51d6dfe713
commit 0e43e0d0d8
2 changed files with 16 additions and 0 deletions
+13
View File
@@ -385,6 +385,19 @@ task strdedup1(type: RunKonanTest) {
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) {
source = "codegen/function/intrinsic.kt"
}
@@ -0,0 +1,3 @@
fun main(args : Array<String>) {
println("")
}