Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Redundant USE statement

OP1
New Contributor II
256 Views

Is the following code legal? Or should a warning/error be issued by the compiler?

MODULE M
END
SUBMODULE (M) S
USE M
END

 

0 Kudos
1 Reply
IanH
Honored Contributor II
256 Views

Maybe - to both questions.  It depends on the results of interp F08/0128.

0 Kudos
Reply