OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
intrinsic_numeric_arg.f
1
! 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