! { dg-do compile }! { dg-additional-options "-pedantic" }! PR fortran/89981 - this used to give a wrong warning (error with! -pedantic)program main
callbar(i)callbaz(i)! { dg-error "Type mismatch in argument" }end program main
subroutinefoo(r)entrybar(i)entrybaz(r)end subroutine foo