6 ms·
Integration-style tests are a good tool here. Given a set of programs in the target language with certain expected behavior on the reference compiler, you check
by b3morales 4y ago
Integration-style tests are a good tool here. Given a set of programs in the target language with certain expected behavior on the reference compiler, you check that compiling and running with the second compiler produces the same behavior.