We consider a complete Riemannian manifold M whose boundary is a disjoint union of finitely many complete connected Riemannian manifolds. We compute the index of a local boundary value problem for a strongly Callias-type operator on M. Our result extends an index theorem of D. Freed to non-compact manifolds, thus providing a new insight on the Horava-Witten anomaly.