What is the reason maximum modulus principle will fail for non-holomorphic functions in the closed disk? I am reading the part in Rudin on Poisson summation formula and I was wondering what a good counterexample would be like. I am assuming $f$ to be continuous and is bounded on the unit disk, so functions like $\log[x],\frac{1}{x}$ are excluded.
Rudin proved this holds for all polynomial functions, and it is not too difficult to extend it to all holomorphic functions on the unit disk via classical arguments. So i am thinking about given a function on the boundary of the circle and run a heat equation on it, or given a heat distribution in the middle circle of the disk instead. So in the extreme case I would have a function has value 1 on $0$, and 0 on the circle. This contradicts the maximum modulus principle - but why can't we approximate this simple function via holomorphic functions and use dominated convergence theorem? In other words, what is the reason that $C_{0}(D^{2})$ is not a completion of $H(D^{2})$?