2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / bessel_3.f90
blob271768dd890f09c94f58cc78f3234118c3722da0
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003 -Wimplicit-procedure" }
4 ! PR fortran/36158 - Transformational BESSEL_JN/YN
5 ! PR fortran/33197 - F2008 math functions
7 IMPLICIT NONE
8 print *, SIN (1.0)
9 print *, BESSEL_J0(1.0) ! { dg-error "has no IMPLICIT type" })
10 print *, BESSEL_J1(1.0) ! { dg-error "has no IMPLICIT type" }
11 print *, BESSEL_JN(1,1.0) ! { dg-error "has no IMPLICIT type" }
12 print *, BESSEL_JN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
14 print *, BESSEL_Y0(1.0) ! { dg-error "has no IMPLICIT type" }
15 print *, BESSEL_Y1(1.0) ! { dg-error "has no IMPLICIT type" }
16 print *, BESSEL_YN(1,1.0) ! { dg-error "has no IMPLICIT type" }
17 print *, BESSEL_YN(1,2,1.0) ! { dg-error "has no IMPLICIT type" }
18 end