Solanum aviculare, Kangaroo Apple has edible fruits eaten fresh and dried when completely ripe. I saw poroporo growing wild in New Zealand years ago..
Perennial vegetables, Edimentals (plants that are edible and ornamental) and other goings on in The Edible Garden