Skip to content

Commit

Permalink
test for unreproducable KT-2509
Browse files Browse the repository at this point in the history
  • Loading branch information
alextkachman committed Aug 3, 2012
1 parent abee22c commit 4f385e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions compiler/testData/codegen/regressions/kt2509.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
fun box() : String {
A()
return "OK"
}

class A: B() {
override var foo = array<Int?>(12, 13)
}

abstract class B {
abstract var foo: Array<Int?>
}
6 changes: 6 additions & 0 deletions compiler/tests/org/jetbrains/jet/codegen/PropertyGenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,10 @@ public void testKt1714_minimal() throws Exception {
createEnvironmentWithFullJdk();
blackBoxFile("regressions/kt1714_minimal.kt");
}

public void testKt2509() throws Exception {
createEnvironmentWithFullJdk();
blackBoxFile("regressions/kt2509.kt");
}

}

0 comments on commit 4f385e8

Please sign in to comment.