Let E be a (real or complex) Banach space and suppose $f: \mathbb{R}^n \rightarrow E$ has the property that $\lambda \circ f$ is $C^\infty$ for every bounded linear functional $\lambda \in E^\ast$. Does it follow that $f$ is also $C^\infty$?
I didn't really encounter this question anywhere; it occurred to me while reading about smooth, Banach space valued functions. I remembered that all weakly holomorphic Banach space valued functions are holomorphic and I thought it would be nice to have a similar criterion for smooth functions.