Testing for errors inside template instantiation.