backend/tests: add disabled test 'fields2'

Checks properties with custom accessors and backing fields.
This commit is contained in:
Svyatoslav Scherbina
2016-12-28 13:59:55 +07:00
parent 8b40b9645a
commit c0914825d9
2 changed files with 45 additions and 0 deletions
+14
View File
@@ -125,6 +125,20 @@ task fields(type: RunKonanTest) {
task fields1(type: RunKonanTest) {
source = "codegen/object/fields1.kt"
}
task fields2(type: RunKonanTest) {
disabled = true
goldValue =
"Set global = 1\n" +
"Set member = 42\n" +
"Get member = 42\n" +
"Set global = 42\n" +
"Get global = 42\n" +
"Set member = 42\n"
source = "codegen/object/fields2.kt"
}
// This test checks object layout can't be done in
// RunKonanTest paradigm
//task constructor(type: UnitKonanTest) {