object Test { def f = { object o { trait T; } o } }