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

13 lines
300 B
Fortran

! { dg-do compile }
! { dg-options "-std=f2008" }
! PR 19259 Semicolon cannot start a line
! but it F2008 it can!
x=1; y=1;
x=2;;
x=3;
; ! OK
;; ! OK
900 ; ! { dg-error "Semicolon at" }
end