test for KT-789

This commit is contained in:
Alex Tkachman
2011-12-10 09:24:14 +02:00
parent 8ec998810f
commit 9511c31cd9
2 changed files with 16 additions and 0 deletions
@@ -80,6 +80,10 @@ public class StdlibTest extends CodegenTestCase {
blackBoxFile("regressions/kt528.kt");
}
public void testKt789 () {
// blackBoxFile("regressions/kt789.jet");
}
public void testCollectionSize () throws Exception {
loadText("import std.util.*; fun box() = if(java.util.Arrays.asList(0, 1, 2)?.size == 3) \"OK\" else \"fail\"");
// System.out.println(generateToText());