main.scala:11: error: variable foo in class PackageProtected cannot be accessed in test.Test println(t.foo) ^ one error found