Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr65045.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 } ! ! Contributed by Walt Brainerd <walt.brainerd@gmail.com> ! real :: i = 9.9 i:block if (i>7.7) then ! { dg-error "is not appropriate for an expression" } exit i else ! { dg-error "Unexpected ELSE statement" } i = 2.2 ! { dg-error "is not a variable" } end if ! { dg-error "Expecting END BLOCK statement" } end block i ! { dg-error "Expecting END PROGRAM statement" } print*,i ! { dg-error "not appropriate for an expression" } end ! { dg-excess-errors "Unexpected end of file" }