Black nightshade , Solanum nigrum , berries almost ready to eat.
The berries can be eaten as is, or cooked. They taste like little tomatoes. The new shoots can be eaten too.
Black nightshade is a cosmopolitan plant, it occurs throughout the world , either as a native or as an introduced species.
It’s more infamous relative, Deadly Nightshade shouldn’t be touched. We’re lucky that it doesn’t occur in Oz.