OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [intrinsic_numeric_arg.f] - Rev 694

Compare with Previous | Blame | View Log

! this test checks for a non-numeric argument to an
! intrinsic function (of which ABS() is one of many).
!      { dg-do compile }
       LOGICAL Z
       CHARACTER A
       REAL R
       R = ABS(Z) !  { dg-error " must be a numeric type" }
       R = ABS(A) !  { dg-error " must be a numeric type" }
       END
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.