package test trait A public class B { private fun bar() = object : A { } }