Adopt tests for classes and nameclashes from codegen.

This commit is contained in:
Pavel V. Talanov
2012-07-31 19:25:41 +04:00
parent 632353610f
commit 0f8113b345
3 changed files with 83 additions and 0 deletions
@@ -1,8 +0,0 @@
class Box<T>(t: T) {
var value = t
}
fun box(): String {
val box: Box<Int> = Box<Int>(1)
return if (box.value == 1) "OK" else "fail"
}