summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/semicolon_fixed.f
blob: 7bd0ada825c79d2b357634c80de7debbd905871e (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR 19259 Semicolon cannot start a line (in F2003)
      x=1; y=1;
      x=2;;
      x=3;
      ;                         ! { dg-error "Fortran 2008: Semicolon at" }
      ;;                        ! { dg-error "Fortran 2008: Semicolon at" }
 900  ;                         ! { dg-error "Semicolon at" }
      end