blob: 2a4a618fa50043a2f3ac9d6f05c51d5a86823335 [file] [log] [blame]
! { dg-do compile }
!
! Test the fix for PR90352.
!
! Contributed by Thomas Koenig <tkoenig@gcc.gnu.org>
!
subroutine bar(c,d) BIND(C) ! { dg-error "Character dummy argument 'd' at .1. must be of constant length of one or assumed length, unless it has assumed shape or assumed rank, as procedure 'bar' has the BIND\\(C\\) attribute" }
character (len=*) c
character (len=2) d
end