The paper proposes two inferential tests for error correlation in the functional linear model, which complement the available graphical
goodness-of-fit checks. To construct them, finite dimensional residuals are computed in two different ways, and then their autocorrelations
are suitably defined. From these autocorrelation matrices, two quadratic forms are constructed whose limiting distribution are chi-squared
with known numbers of degrees of freedom (different for the two forms). The asymptotic approximations are suitable for moderate sample
sizes. The test statistics can be relatively easily computed using the R package fda, or similar MATLAB software. Application of the tests
is illustrated on magnetometer and financial data. The asymptotic theory emphasizes the differences between the standard vector linear
regression and the functional linear regression. To understand the behavior of the residuals obtained from the functional linear model,
the interplay of three types of approximation errors must be considered, whose sources are: projection on a finite dimensional subspace,
estimation of the optimal subspace, and estimation of the regression kernel.