Our test infrastructure does not like two tests with the same name, but it makes sense to do it regardless, as they are testing the same command.
Also add tests to check that we print the warning in the right circumstances. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D114877