Yes, as a general purpose file extension.

However, file extension is not a necessity in Unix. There is nothing wrong with using `*.rc` to mark a file that stores the return code in a test - as long as it is obvious. In this case, I think it is pretty obvious, given that it is created by an `echo $?` to it.