[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Semantics / modfile05.f90
blob652386849455ea7da86a881698e7ccbfa7b63d7e
1 ! RUN: %python %S/test_modfile.py %s %flang_fc1
2 ! Use-association with VOLATILE or ASYNCHRONOUS
4 module m1
5 real x
6 integer y
7 volatile z
8 contains
9 end
11 module m2
12 use m1
13 volatile x
14 asynchronous y
15 end
17 !Expect: m1.mod
18 !module m1
19 !real(4)::x
20 !integer(4)::y
21 !real(4),volatile::z
22 !end
24 !Expect: m2.mod
25 !module m2
26 !use m1,only:x
27 !use m1,only:y
28 !use m1,only:z
29 !volatile::x
30 !asynchronous::y
31 !end