view gcc/testsuite/gfortran.dg/semicolon_free_2.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

! { 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