bolt/deps/llvm-18.1.8/flang/test/Semantics/modfile54.f90
2025-02-14 19:21:04 +01:00

15 lines
402 B
Fortran

! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic
!ERROR: Some modules in this compilation unit form one or more cycles of dependence
module m1
use m2
end
!PORTABILITY: A USE statement referencing module 'm2' appears earlier in this compilation unit
module m2
use m3
end
!PORTABILITY: A USE statement referencing module 'm3' appears earlier in this compilation unit
module m3
use m1
end