[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git] / flang / test / Semantics / modfile05.f90
blobda81866d4f59790fd44aa22aceae246c3ebac1d6
1 ! RUN: %S/test_modfile.sh %s %t %flang_fc1
2 ! REQUIRES: shell
3 ! Use-association with VOLATILE or ASYNCHRONOUS
5 module m1
6 real x
7 integer y
8 volatile z
9 contains
10 end
12 module m2
13 use m1
14 volatile x
15 asynchronous y
16 end
18 !Expect: m1.mod
19 !module m1
20 !real(4)::x
21 !integer(4)::y
22 !real(4),volatile::z
23 !end
25 !Expect: m2.mod
26 !module m2
27 !use m1,only:x
28 !use m1,only:y
29 !use m1,only:z
30 !volatile::x
31 !asynchronous::y
32 !end