I got this one on a quiz the other day (We're only working in the reals). My solution was
$$A=[0,1]\cup\{3\}$$
The closed interval has the infinite points, and $\sup A=3$ is not a limit-point since each neighborhood of $3$ contains only the point $3$.
I was marked wrong but I can't figure out why. Also let me know if there's any issues with my posting-- it's my first on here. Thanks for the input.
Another example is $$\{0\}\cup\biggl\{\frac1n: n\in\mathbb N\biggr\}$$ Maybe that was expected?