[flang][NFC] Add module lowering tests
authorValentin Clement <clementval@gmail.com>
Wed, 23 Mar 2022 16:49:40 +0000 (17:49 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 23 Mar 2022 16:51:09 +0000 (17:51 +0100)
commitb38e78cc445c0b6e119e8b3b7e42371caab14a05
tree1c5386b02ce6e9e653fa191c05c645f47b193c84
parent5800fb41a6b95797e0dc9fe009bc7183ab370b17
[flang][NFC] Add module lowering tests

This patch adds test for the lowering of Fortran modules.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D122317

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/test/CMakeLists.txt
flang/test/Lower/module-and-internal-proc.f90 [new file with mode: 0644]
flang/test/Lower/module-single-point-of-def.f90 [new file with mode: 0644]
flang/test/Lower/module_definition.f90 [new file with mode: 0644]
flang/test/Lower/module_use.f90 [new file with mode: 0644]
flang/test/Lower/module_use_in_same_file.f90 [new file with mode: 0644]