Let $\{X_n\}, \{Y_n\}$ be sequences of real valued random variables converging in distribution to $X$ and $Y$ respectively. Let $f: \mathbb R^2 \to \mathbb R$ be a continuous function such that $\{f(X_n,Y_n)\}$ converges in distribution to some random variable $Z$.
Then is it true that $Z$ is identically distributed as $f(X,Y)$ ?
If this is not true in general, is it at least true for the function $f(x,y)=x+y$ ?