Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr66545_1.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-Wall" } ! PR fortran/66545 ! subroutine p complex, parameter :: c1 = (c1) ! { dg-error "before its definition" } complex, parameter :: c2 = c2 ! { dg-error "before its definition" } complex :: c3 = (c3) ! { dg-error "has not been declared or is a variable" } complex :: c4 = c4 ! { dg-error "has not been declared or is a variable" } end subroutine p subroutine q real, parameter :: r1 = (r1) ! { dg-error "before its definition" } real, parameter :: r2 = r2 ! { dg-error "before its definition" } real :: r3 = (r3) ! { dg-error "has not been declared or is a variable" } real :: r4 = r4 ! { dg-error "has not been declared or is a variable" } end subroutine q