! { dg-do compile }!! PR fortran/45066!! Contributed by Michael Richmond.!! Was failing due to a -fwhole-file bug.!MODULE GA_commonsINTEGER::nichflg(2)END MODULE GA_commonsPROGRAM gafortranUSE GA_commonsNAMELIST/ga/nichflgREAD(23,nml=ga)END PROGRAM gafortran! { dg-final { cleanup-modules "ga_commons" } }