llvm-project/flang/test
Peter Steinfeld 1c2935a772 [flang] Prohibit MODULE procedures in the global scope
We were allowing procedures with the MODULE prefix to be declared at the global
scope.  This is prohibited by C1547 and was causing an internal check of the
compiler to fail.

I fixed this by adding a check.  I also added a test that would trigger a crash
without this change.

Differential Revision: https://reviews.llvm.org/D97875
2021-03-03 11:50:50 -08:00
..
Driver [flang] Add -J and -module-dir to f18 driver 2021-02-22 09:03:31 -08:00
Evaluate [flang][f18] Make -fdebug-dump-{symbols|parse-tree} imply -fsyntax-only 2021-02-16 09:22:32 +00:00
Fir [flang][fir] Add remaining Ops. Updates to pre-existing Ops. 2021-02-26 17:21:35 -08:00
Flang-Driver [clang][driver] Set the input type to Fortran when reading from stdin 2021-02-25 13:13:42 +00:00
Frontend [flang][test] Share all driver test dirs between `f18` and `flang-new` 2021-02-23 18:21:32 +00:00
Lower [flang][driver] Add debug measure-parse-tree and pre-fir-tree options 2021-02-19 11:27:54 +00:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang][driver] Add options for unparsing 2021-02-16 09:32:51 +00:00
Preprocessing [flang][driver] Update PP tests to use the new driver 2021-01-25 12:32:23 +00:00
Semantics [flang] Prohibit MODULE procedures in the global scope 2021-03-03 11:50:50 -08:00
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [flang][fir] Add fir-opt tool 2021-02-16 11:48:40 -05:00
lit.cfg.py [flang][test] Share all driver test dirs between `f18` and `flang-new` 2021-02-23 18:21:32 +00:00
lit.site.cfg.py.in [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00