Test for KT-7332, already fixed

This commit is contained in:
Simon Ogorodnik
2016-10-11 11:57:12 +03:00
parent 4710f709ce
commit 2a95a4a970
2 changed files with 8 additions and 4 deletions
+6 -4
View File
@@ -1,7 +1,9 @@
//file //file
class Test { class Test {
void test() { private char c = 0;
char c1 = 'c';
Character c2 = 'C'; void test() {
} char c1 = 'c';
Character c2 = 'C';
}
} }
+2
View File
@@ -1,4 +1,6 @@
internal class Test { internal class Test {
private val c: Char = 0.toChar()
fun test() { fun test() {
val c1 = 'c' val c1 = 'c'
val c2 = 'C' val c2 = 'C'