[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / module-suffix.f90
blobdf88ccef9bd07b95a3dee78b404154f6ad4853ac
1 ! Tests `-module-suffix` frontend option
3 !--------------------------
4 ! RUN lines
5 !--------------------------
6 ! RUN: rm -rf %t && mkdir -p %t/dir-flang/
7 ! RUN: cd %t && %flang_fc1 -fsyntax-only -module-suffix .f18.mod -module-dir %t/dir-flang %s
8 ! RUN: ls %t/dir-flang/testmodule.f18.mod && not ls %t/dir-flang/testmodule.mod
10 module testmodule
11 type::t2
12 end type
13 end