Since components of both are involved, people who can’t smell can still taste.  There was someone I knew a long time ago that couldn’t smell and some people were under the impression that he couldn’t taste, but he could.