summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/semicolon_fixed_2.f
blob: 8ee444c3ff5cd677e33da8a3f5c34f2d6231280d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { 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