The regression would not be spurious. If $Y_t=\delta_0+\delta_1 t+u_t$ and $X_t=\gamma_0+\gamma_1t+v_t$ then
$$t=\frac{1}{\gamma_1}X_t-\frac{\gamma_0}{\gamma_1}-\frac{1}{\gamma_1}v_t$$
and
$$Y_t=\delta_0-\frac{\delta_1\gamma_0}{\gamma_1}+\frac{\delta_1}{\gamma_1}X_t+u_t-\frac{\delta_1}{\gamma_1}v_t$$
Now this is simply a regression
$$Y_t=\alpha_0+\alpha_1X_t+\varepsilon_t$$
and it is possible to show that OLS estimates $\hat\alpha_0$ and $\hat\alpha_1$ are consistent and assymptoticaly normal with means $\delta_0-\frac{\delta_1\gamma_0}{\gamma_1}$ and $\frac{\delta_1}{\gamma_1}$ respectively, albeit with non-standard normalizing constants. The mathematical details can be found in this answeranswer.
The consistency can be illustrated by the following code:
gend <- function(n) {
data.frame(x=1+2*1:n+rnorm(n),y=3+4*1:n+rnorm(n))
}
> set.seed(13)
> coef(lm(y~x,data=gend(10)))
(Intercept) x
-1.291464 2.067586
> coef(lm(y~x,data=gend(100)))
(Intercept) x
1.396720 1.997408
> coef(lm(y~x,data=gend(1000)))
(Intercept) x
0.9864317 1.9999570
> coef(lm(y~x,data=gend(10000)))
(Intercept) x
0.9595726 2.0000065
Here I generated two trend stationary variables with $\gamma_0=1$, $\gamma_1=2$, $\delta_0=3$ and $\delta_1=4$. As we see regression estimates approach the true values $\alpha_0=1$ and $\alpha_1=2$.