------- Comment #9 from jvdelisle at gcc dot gnu dot org  2007-10-23 01:42 
-------
The example in Comment #8 is rejected by gfortran because of this bug.  It is
rejected by Lahey:

Diagnostic messages: program name(main)
   2204-S: "SOURCE.F90", line 18, column 6: In the reference to procedure
'sub', the type of actual argument must be the same as that of the
corresponding dummy argument.

There is no type information about external foo so I think this should be
rejected. (Siding with NAG and Lahey as well)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33162

Reply via email to