Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/intrinsic_numeric_arg.f @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! 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 have a numeric type" } R = ABS(A) ! { dg-error " must have a numeric type" } END