New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-03-12 12:46:24 +03:00
committed by Ilya Kirillov
parent 8bd49c147c
commit 7adba40ea2
6 changed files with 22 additions and 1 deletions
@@ -0,0 +1 @@
5 shl 16 or (0 shr 8 or 1)
@@ -0,0 +1 @@
5 /*operand '5'*/ shl /*left shift*/ 16 /*operand '16'*/ or ( /*or*/ 1 /*operand '1'*/ shr /*right shift*/ 8 /*operand '8'*/ or /*or*/ 0) /*operand '0'*/ /*post comment*/
@@ -0,0 +1,6 @@
interface Aaa {
fun foo(
e1: String?,
e2: String?
)
}
@@ -0,0 +1,10 @@
object A {
const val TEXT1 = "text1.\n" +
"text2\n" +
"text3"
const val TEXT2 = ("text1\n"
+ "text2\n"
+ "text3")
}
@@ -0,0 +1 @@
synchronized(s) { doSomething(s) }
+3 -1
View File
@@ -4,6 +4,8 @@ import java.io.IOException
class C {
@Throws(IOException::class)
internal fun foo() {
ByteArrayInputStream(ByteArray(10)).use { stream -> println(stream.read()) }
ByteArrayInputStream(ByteArray(10)).use { stream ->
println(stream.read())
}
}
}