blob: 34d21865d4e4ccc6bbab2a5047e9b8042a27aa59 [file] [log] [blame] [edit]
! RUN: %python %S/test_errors.py %s %flang_fc1 -pedantic -Werror
module m
type a ! not BIND(C)
end type
contains
subroutine sub(x) bind(c)
!PORTABILITY: The derived type of this interoperable object should be BIND(C) [-Wportability]
type(a), pointer, intent(in) :: x
end
end