view gcc/testsuite/gfortran.dg/common_25.f90 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
! PR fortran/67758
!
! Check the absence of ICE after emitting the error message
!
! This test is  the free form variant of common_24.f.

      REAL :: X
      COMMON /FMCOM / X(80 000 000)  ! { dg-error "Expected another dimension" }
      CALL T(XX(A))
      COMMON /FMCOM / XX(80 000 000) ! { dg-error "Expected another dimension" }
      END