// "Create member function 'A.unaryMinus'" "true" class A(val n: T) { operator fun minus(n: Int): A = throw Exception() operator fun unaryMinus(): A { TODO("Not yet implemented") } } fun test() { val a: A = -A(1) }