F90_MISTAKE, Fortran90 programs which illustrate some simple but devious programming mistakes.
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
F90_MISTAKE is available in a C version and a FORTRAN90 version and an HTML version and a MATLAB version.
You can go up one level to the FORTRAN90 source codes.