食べるとおいしい。

It tastes good when eaten.