2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / module_procedure_2.f90
blob8f6db25fb13d6434c536376c834644475adadeea
1 ! { dg-do compile }
2 program test
3 implicit none
4 intrinsic sin
5 interface gen2
6 module procedure sin ! { dg-error "cannot be a MODULE PROCEDURE" }
7 end interface gen2
8 end program test