Retro68/gcc/gcc/testsuite/gfortran.dg/stfunc_2.f90
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

7 lines
192 B
Fortran

! { dg-do compile }
! PR 20467 : we didn't check if a statement function had the dummy attribute.
SUBROUTINE a(b)
b(c) = 0 ! { dg-error "Unclassifiable statement" }
END SUBROUTINE a