Solanine levels in S. nigrum can be toxic.
There are ethnobotanical accounts of S. nigrum leaves and shoots being boiled as a vegetable with the cooking water being discarded and replaced several times to remove toxins [REF].