1! { dg-do compile } 2! PR fortran/34997 3! Variable names containing $ signs 4! 5 REAL*4 PLT$C_HOUSTPIX ! { dg-error "Invalid character '\\$'" } 6 INTEGER PLT$C_COMMAND ! Unreachable as the error above is now fatal 7 PARAMETER (PLT$B_OPC=0) ! Unreachable as the error above is now fatal 8 common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND ! Unreachable as the error above is now fatal 9 end 10! { dg-excess-errors "compilation terminated" } 11