\begin{sequencediagram}
  \newthread{t}{:Thread}
  \newinst[1]{i}{:Instance}
    \begin{call}{t}{function()}{i}{\shortstack{return A\\ return B\\
          return C}}
      \postlevel
    \end{call}
\end{sequencediagram}