2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_decl_4.f90
blobfa133d45e92ee5873fbb4b63360abc83d033897c
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 ! Test for PROCEDURE statements with the -std=f95 flag.
4 ! Contributed by Janus Weil <jaydub66@gmail.com>
6 program p
8 procedure():: proc ! { dg-error "Fortran 2003: PROCEDURE statement" }
10 end program