Retro68/gcc/gcc/testsuite/gfortran.dg/semicolon_free.f90
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

11 lines
218 B
Fortran

! { dg-do compile }
! { dg-options "-std=f2003" }
! PR 19259 Semicolon cannot start a line
x=1; y=1;
x=2;;
x=3;
; ! { dg-error "Semicolon at" }
;; ! { dg-error "Semicolon at" }
111 ; ! { dg-error "Semicolon at" }
end