[flang] Add tests for allocatable global
authorValentin Clement <clementval@gmail.com>
Fri, 11 Mar 2022 17:39:33 +0000 (18:39 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 11 Mar 2022 17:40:17 +0000 (18:40 +0100)
commit179ea3559d0551959bf5dcc66fd676b5bbd7ce71
treee621eefce0a2072d300dd82bd58a25fb9f9d798c
parent80f8c6dd16b8d0bca10dadf6ff49f7ed7484f346
[flang] Add tests for allocatable global

This patch adds couple of tests for allocatable
globals and missing lowering for them

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

Reviewed By: PeteSteinfeld

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

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/test/Lower/allocatable-globals.f90 [new file with mode: 0644]
flang/test/Lower/allocatable-runtime.f90 [new file with mode: 0644]