Add test for issue6704.
Add test for issue6704.

cpcloud/numba,IntelLabs/numba,stonebig/numba,IntelLabs/numba,numba/numba,seibert/numba,IntelLabs/numba,stonebig/numba,stonebig/numba,seibert/numba,cpcloud/numba,stuartarchibald/numba,stuartarchibald/numba,cpcloud/numba,seibert/numba,gmarkall/numba,gmarkall/numba,IntelLabs/numba,seibert/numba,gmarkall/numba,cpcloud/numba,stuartarchibald/numba,stuartarchibald/numba,numba/numba,stuartarchibald/numba,cpcloud/numba,numba/numba,gmarkall/numba,gmarkall/numba,stonebig/numba,IntelLabs/numba,numba/numba,seibert/numba,numba/numba,stonebig/numba