URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [intrinsic.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-c -Wall" }!! PR fortran/20373! cf. also PR fortran/40041subroutine validintrinsic :: abs ! ok, intrinsic functionintrinsic :: cpu_time ! ok, intrinsic subroutineend subroutinesubroutine warnings! the follow three are ok in general, but ANY! type is ignored, even the correct onereal, intrinsic :: sin ! { dg-warning "is ignored" }real :: asin ! { dg-warning "is ignored" }intrinsic :: asinintrinsic :: tan ! { dg-warning "is ignored" }real :: tan! wrong types hereinteger, intrinsic :: cos ! { dg-warning "is ignored" }integer :: acos ! { dg-warning "is ignored" }intrinsic :: acos! ordering shall not matterintrinsic :: atan ! { dg-warning "is ignored" }integer :: atanend subroutinesubroutine errorsintrinsic :: foo ! { dg-error "does not exist" }real, intrinsic :: bar ! { dg-error "does not exist" }real, intrinsic :: mvbits ! { dg-error "shall not have a type" }end subroutine
