gcc/testsuite/gfortran.dg/dollar_sym_1.f90
raw| 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-prune-output "compilation terminated" } |