mips.c (mips16_copy_fpr_return_value): New function, split out from...
[official-gcc.git] / gcc / testsuite / gfortran.dg / interface_abstract_1.f90
blobab816bff7a147dcef175ec4909ee09c26c5a7074
1 ! { dg-do compile }
3 implicit none
4 abstract interface :: one ! { dg-error "Syntax error in ABSTRACT INTERFACE statement" }
5 end interface ! { dg-error "Expecting END PROGRAM statement" }
7 abstract interface
8 subroutine two() bind(C)
9 end subroutine two
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" }
13 end subroutine real
14 end interface
16 contains
18 subroutine sub() bind(C,name="subC")
19 end subroutine
21 end