Additional tests for integer literal type promotion.
This commit is contained in:
committed by
Dmitry Petrov
parent
0c0dac4822
commit
c0ac607a1d
+6
-1
@@ -10,4 +10,9 @@ val test9 = 1.0
|
||||
val test10 = -1.0
|
||||
val test11 = 1.0f
|
||||
val test12 = -1.0f
|
||||
val test13 = 'a'
|
||||
val test13 = 'a'
|
||||
|
||||
val testB: Byte = 1
|
||||
val testS: Short = 1
|
||||
val testI: Int = 1
|
||||
val testL: Long = 1
|
||||
|
||||
Reference in New Issue
Block a user