32 lines · plain
1! RUN: %python %S/test_modfile.py %s %flang_fc12! Use-association with VOLATILE or ASYNCHRONOUS3 4module m15 real x6 integer y7 volatile z8contains9end10 11module m212 use m113 volatile x14 asynchronous y15end16 17!Expect: m1.mod18!module m119!real(4)::x20!integer(4)::y21!real(4),volatile::z22!end23 24!Expect: m2.mod25!module m226!use m1,only:x27!use m1,only:y28!use m1,only:z29!volatile::x30!asynchronous::y31!end32