Debian Codegraph @

gcc/testsuite/gfortran.dg/entry_22.f90

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-pedantic" }
3 ! PR fortran/89981 - this used to give a wrong warning (error with
4 ! -pedantic)
5 program main
6 call bar(i)
7 call baz(i) ! { dg-error "Type mismatch in argument" }
8 end program main
9 subroutine foo(r)
10 entry bar(i)
11 entry baz(r)
12 end subroutine foo