Consider locally convex vector spaces $X,Y$ and let $A: X\to Y$ be a linear operator with closed graph. Closed Graph Theorem states that if $Y$ is Fréchet then $A$ is continuous.
What is a counterexample to this in the case when $Y$ is not Fréchet?
EDIT: Thank you very much for your comments and shots!;) My question was of course about a counterexample where $X$ is "good" (let it be barrelled).