4 abstract
interface :: one
! { dg-error "Syntax error in ABSTRACT INTERFACE statement" }
5 end interface ! { dg-error "Expecting END PROGRAM statement" }
8 subroutine two() bind(C
)
10 subroutine three() bind(C
,name
="three") ! { dg-error "NAME not allowed on BIND.C. for ABSTRACT INTERFACE" }
11 end subroutine three
! { dg-error "Expecting END INTERFACE statement" }
12 subroutine real() ! { dg-error "cannot be the same as an intrinsic type" }
18 subroutine sub() bind(C
,name
="subC")