URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [interface_abstract_1.f90] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }!module mod_interf_abstractimplicit noneabstract interface :: one ! { dg-error "Syntax error in ABSTRACT INTERFACE statement" }end interface ! { dg-error "Expecting END MODULE statement" }abstract interfacesubroutine two() bind(C)end subroutine twosubroutine three() bind(C,name="three") ! { dg-error "NAME not allowed on BIND.C. for ABSTRACT INTERFACE" }end subroutine three ! { dg-error "Expecting END INTERFACE statement" }subroutine real() ! { dg-error "cannot be the same as an intrinsic type" }end subroutine realend interfacecontainssubroutine sub() bind(C,name="subC")end subroutineend module mod_interf_abstract
Go to most recent revision | Compare with Previous | Blame | View Log
