// COMPILATION_ERRORS

fun a() {
    val (a) = 1
    val (b: Int) = 1
    val (a, b) = 1
    val (a: Int, b: Int) = 1
    val (a: Int, b) = 1
    val (a, b: Int) = 1
    var (a) = 1
    var (b: Int) = 1
    var (a, b) = 1
    var (a: Int, b: Int) = 1
    var (a: Int, b) = 1
    var (a, b: Int) = 1

    val () = 1
    val (, a) = 1
    val (a, ) = 1
    val (a, : Int) = 1
    val (a, : Int, ) = 1
    val (a, = 1
    val (a, b = 1
    val (1) = 1

    val T.(a) = 1
    val (a): Int = 1
    val T.(a): Int = 1
}

val (a, b) = 1
val Int.(a, b) = 1
val (a, b):Int = 1

class X {
    val (a, b) = 1
    val Int.(a, b) = 1
    val (a, b): Int = 1
}
