summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dollar_sym_1.f90
blob: 37f0f888d621bab4da67a7d6b9597bb22131658f (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   ! { dg-error "Invalid character '\\$'" }
      PARAMETER (PLT$B_OPC=0) ! { dg-error "Invalid character '\\$'" }
      common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND ! { dg-error "Invalid character '\\$'" }
      end