summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/semicolon_free_2.f90
blob: 2fae26e16075cee17b1f66b6b75229c03861cf36 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-std=f2008" }
! PR 19259 Semicolon cannot start a line
x=1; y=1;
x=2;;
x=3;
 ; ! OK
;; ! OK
111 ; ! { dg-error "Semicolon at" }
end