[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / module-suffix.f90
blob151688492c932761ae5374f388e37abbcb3da778
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 !--------------------------
11 ! INPUT
12 !--------------------------
13 module testmodule
14 type::t2
15 end type
16 end