Add tests for Fortran features
This issue is about adding tests to each feature that is mentioned in #272. The test should test the given feature by adding a file to the integration_tests
directory and adding it to the CMake build system there, to be executed with gfortran
(they will typically not work with LFortran yet, but that is a separate issue).
As an example, to test the associate
statement, a test was added here:
and registered in CMake:
Other tests should be added in a similar manner. This issue should stay open until we have tests for every feature there. Adding just one test is easy to fix, so that is why it is labeled as such.
Edited by Ondřej Čertík