test / A

A

interface A

test / B

B

interface B

test / f

f

fun <T> f(): Unit where T : A, T : B