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