URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_ptr_comp_31.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR 47768: printing a derived-type variable with proc-pointer components!! Contributed by Arjen Markus <arjen.markus895@gmail.com>module proc_pointersimplicit nonetype :: rectanglereal :: width, heightprocedure(real), pointer, nopass :: get_special_areaend typeend moduleprogram test_objectsuse proc_pointersimplicit nonetype(rectangle) :: rectwrite(*,*) rect ! { dg-error "cannot have procedure pointer components" }end program! { dg-final { cleanup-modules "proc_pointers" } }
