Debian Codegraph @

gcc/testsuite/gfortran.dg/whole_file_16.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR fortran/31346
4 !
5 program main
6 real, dimension(2) :: a
7 call foo(a) ! { dg-error "Explicit interface required" }
8 end program main
9
10 subroutine foo(a)
11 real, dimension(:) :: a
12 end subroutine foo