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] - Blame information for rev 708

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! this test checks for a non-numeric argument to an
2
! intrinsic function (of which ABS() is one of many).
3
!      { dg-do compile }
4
       LOGICAL Z
5
       CHARACTER A
6
       REAL R
7
       R = ABS(Z) !  { dg-error " must be a numeric type" }
8
       R = ABS(A) !  { dg-error " must be a numeric type" }
9
       END

powered by: WebSVN 2.1.0

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