comparison gcc/testsuite/gfortran.dg/semicolon_fixed_2.f @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008" }
3
4 ! PR 19259 Semicolon cannot start a line
5 ! but it F2008 it can!
6 x=1; y=1;
7 x=2;;
8 x=3;
9 ; ! OK
10 ;; ! OK
11 900 ; ! { dg-error "Semicolon at" }
12 end