Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/dollar_sym_1.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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 ! { dg-excess-errors "compilation terminated" }