// COMPILATION_ERRORS

fun foo1(x: List<A<, s: String): A {}
fun foo2(x: List<A< s: String): A {}
fun foo3(x: List<A<,): A {}
fun foo4(x: List<A<): A {}
fun foo5(x: List<A<,) {}
fun foo6(x: List<A<) {}
fun foo7(x: List<A<,) = 1

fun main() {}
