aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/dollar_sym_1.f90
blob: 6c0dfcb24d6a6745064f3cc9b4324db175785af4 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! PR fortran/34997
! Variable names containing $ signs
! 
      REAL*4 PLT$C_HOUSTPIX   ! { dg-error "Invalid character '\\$'" }
      INTEGER PLT$C_COMMAND   ! Unreachable as the error above is now fatal
      PARAMETER (PLT$B_OPC=0) !  Unreachable as the error above is now fatal
      common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND !  Unreachable as the error above is now fatal
      end