URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pointer_intent_2.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-std=f95" }! { dg-shouldfail "Fortran 2003 feature with -std=f95" }!! Pointer intent test! PR fortran/29624!! Fortran 2003 features in Fortran 95program testimplicit noneinteger, pointer :: pallocate(p)p = 33call a(p) ! { dg-error "Type mismatch in argument" }containssubroutine a(p)! { dg-error "has no IMPLICIT type" }integer, pointer,intent(in) :: p ! { dg-error "POINTER attribute with INTENT attribute" }end subroutineend program
