ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / misplaced_statement.f90
blob63f33422ffc88b8355fd2406579a1aa3e830dba2
1 !{ dg-do compile }
2 ! PR fortran/66040
4 ! Original code from Gerhard Steinmetz
5 ! <gerhard dot steinmetz dot fortran at t-online dot de>
6 real function f1(x)
7 sequence ! { dg-error "Unexpected SEQUENCE statement" }
8 end function f1
10 real function f2()
11 else ! { dg-error "Unexpected ELSE statement" }
12 end function f2
14 real function f3()
15 block data ! { dg-error "Unexpected BLOCK DATA statement" }
16 end function f3
18 real function f4()
19 program p ! { dg-error "Unexpected PROGRAM statement" }
20 end function f4