Let $\phi \in C_c$ be nonzero (say for simplicity that $\phi$ is supported in $(0,1)$) and let $f_n(x) = \phi(x-n)$ be its translation to the left by $n$.
This sequence converges to 0 uniformly on compact sets (indeed, on any compact set it is eventually equal to 0). But if we think of the inductive limit topology as coming from the inclusion of the spaces $X_k = C_c((-k,k))$ into $C_c(\mathbb{R})$, then we see that $f_n$ does not converge in this topology because there is no single $X_k$ which contains all the $f_n$.
As Jochen says in the comment, it is a general fact about strict inductive limits that any convergent sequence must be contained in one of the $X_k$ (where technically to make this a strict inductive limit I ought to replace the $X_k$ with their closures). Apparently it's due to Dieudonné and Schwartz but I think the proof is a fairly simple exercise once you see how to do it.
But we can also prove it more directly in the current case. Consider the set $U = \{ f : |f(x)| \le 1/|x|\}$. Clearly $U \cap X_k$ is a neighborhood of 0 in $X_k$ (since it contains the uniform ball of radius $1/k$ centered at 0), so by definition of the inductive limit, $U$ is a neighborhood of 0 in $X$. But clearly there are infinitely many $f_n$ that are not in $U$, so $f_n$ does not converge to 0 in $X$. You can similarly show that the sequence can't converge to any other $f \in C_c$ either.