2 ! { dg-options "-fmax-errors=40" }
3 ! PR33162 INTRINSIC functions as ACTUAL argument
4 ! Prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
7 real(kind
=4) :: rr
, x
, y
8 real(kind
=8) :: dr
, dx
, dy
15 r
= dabs(x
) ! { dg-error "must be double precision" }
16 r
= dacos(x
) ! { dg-error "must be double precision" }
17 r
= dacosh(x
) ! { dg-error "must be double precision" }
18 r
= dasin(x
) ! { dg-error "must be double precision" }
19 r
= dasinh(x
) ! { dg-error "must be double precision" }
20 r
= datan(x
) ! { dg-error "must be double precision" }
21 r
= datanh(x
) ! { dg-error "must be double precision" }
22 r
= datan2(y
, dx
) ! { dg-error "must be double precision" }
23 r
= datan2(dy
, x
) ! { dg-error "must be double precision" }
24 r
= dbesj0(x
) ! { dg-error "must be double precision" }
25 r
= dbesj1(x
) ! { dg-error "must be double precision" }
26 r
= dbesy0(x
) ! { dg-error "must be double precision" }
27 r
= dbesy1(x
) ! { dg-error "must be double precision" }
28 r
= dcos(x
) ! { dg-error "must be double precision" }
29 r
= dcosh(x
) ! { dg-error "must be double precision" }
30 r
= ddim(x
, dy
) ! { dg-error "must be double precision" }
31 r
= ddim(dx
, y
) ! { dg-error "must be double precision" }
32 r
= derf(x
) ! { dg-error "must be double precision" }
33 r
= derfc(x
) ! { dg-error "must be double precision" }
34 r
= dexp(x
) ! { dg-error "must be double precision" }
35 r
= dgamma(x
) ! { dg-error "must be double precision" }
36 r
= dlgama(x
) ! { dg-error "must be double precision" }
37 r
= dlog(x
) ! { dg-error "must be double precision" }
38 r
= dlog10(x
) ! { dg-error "must be double precision" }
39 r
= dmod(x
, dy
) ! { dg-error "must be double precision" }
40 r
= dmod(dx
, y
) ! { dg-error "must be double precision" }
41 r
= dsign(x
, dy
) ! { dg-error "must be double precision" }
42 r
= dsign(dx
, y
) ! { dg-error "must be double precision" }
43 r
= dsin(x
) ! { dg-error "must be double precision" }
44 r
= dsinh(x
) ! { dg-error "must be double precision" }
45 r
= dsqrt(x
) ! { dg-error "must be double precision" }
46 r
= dtan(x
) ! { dg-error "must be double precision" }
47 r
= dtanh(x
) ! { dg-error "must be double precision" }
48 dr
= dprod(dx
,y
) ! { dg-error "must be default real" }
49 dr
= dprod(x
,dy
) ! { dg-error "must be default real" }
52 end program double_specs