[PATCH, Fortran] PR61234: -Wuse-no-only

VandeVondele Joost joost.vandevondele@mat.ethz.ch
Mon Jun 2 05:48:00 GMT 2014


> What is the rationale of
>
> +  SUBROUTINE S2
> +     USE foo, ONLY: bar ! { dg-bogus "has no ONLY qualifier" }
> +  END SUBROUTINE

This explicitly tests that no bogus error message is issued for a use statement that has an only qualifier ?


More information about the Fortran mailing list