Exactly solvable model exhibiting a multicritical point